Skip to content

Commit

Permalink
Merge pull request #2348 from posit-dev/dotnomad/rm-disable-with-err
Browse files Browse the repository at this point in the history
Allow deploy when the config is in error
  • Loading branch information
dotNomad authored Oct 3, 2024
2 parents 61c641c + 9a6d698 commit 0208b8f
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<vscode-button
:data-automation="`deploy-button`"
:disabled="!haveResources || isConfigInError || home.publishInProgress"
:disabled="!haveResources || home.publishInProgress"
@click="deploy"
>
Deploy Your Project
Expand All @@ -11,7 +11,6 @@
<script setup lang="ts">
import { computed } from "vue";
import { isConfigurationError } from "../../../../src/api";
import { useHomeStore } from "src/stores/home";
import { useHostConduitService } from "src/HostConduitService";
Expand All @@ -27,13 +26,6 @@ const haveResources = computed(
Boolean(home.serverCredential),
);
const isConfigInError = computed(() => {
return Boolean(
home.selectedConfiguration &&
isConfigurationError(home.selectedConfiguration),
);
});
const deploy = () => {
if (
!home.selectedContentRecord ||
Expand Down

0 comments on commit 0208b8f

Please sign in to comment.