Skip to content

Commit

Permalink
Merge pull request #4322 from systeminit/fix/BUG-478-modal-out-of-scope
Browse files Browse the repository at this point in the history
BUG-478: modal was not rendered, moved outside of if else
  • Loading branch information
jobelenus authored Aug 12, 2024
2 parents 8b3dcd1 + 4c135d9 commit 97cd848
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/web/src/components/FuncEditor/AttributeBindings.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<template>
<div>
<AttributeBindingsModal
ref="bindingsModalRef"
:funcId="$props.funcId"
:schemaVariantId="$props.schemaVariantId"
type="save"
@save="saveModal"
/>

<div
v-if="!schemaVariantId"
class="w-full flex p-xs gap-2xs border-b dark:border-neutral-600"
Expand Down Expand Up @@ -87,14 +95,6 @@
/>
</div>
</li>

<AttributeBindingsModal
ref="bindingsModalRef"
:funcId="$props.funcId"
:schemaVariantId="$props.schemaVariantId"
type="save"
@save="saveModal"
/>
</ul>
</template>
<template v-else>
Expand Down

0 comments on commit 97cd848

Please sign in to comment.