Skip to content

Commit

Permalink
fix: allow proposal edition for space using non-premium networks
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Jan 23, 2025
1 parent d1e2f10 commit 1bf3090
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/ui/src/views/Space/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ const formErrors = computed(() => {
});
const canSubmit = computed(() => {
if (
!unsupportedProposalNetworks.value.length ||
(!unsupportedProposalNetworks.value.length &&
!proposal.value?.proposalId) ||
Object.keys(formErrors.value).length > 0
)
return false;
Expand Down Expand Up @@ -458,7 +459,7 @@ watchEffect(() => {
<div class="flex-1 grow min-w-0">
<UiContainer class="pt-5 !max-w-[710px] mx-0 md:mx-auto s-box">
<UiAlert
v-if="unsupportedProposalNetworks[0]"
v-if="unsupportedProposalNetworks[0] && !proposal?.proposalId"
type="error"
class="mb-4"
>
Expand Down

0 comments on commit 1bf3090

Please sign in to comment.