Skip to content

Commit

Permalink
hide add button on inline repeater if allowCreate is false
Browse files Browse the repository at this point in the history
  • Loading branch information
13twelve committed Jan 14, 2025
1 parent 8b5bade commit 44e993e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/components/Repeater.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
:opened="opened"
>
<a17-button slot="block-actions" variant="icon" data-action @click="duplicateBlock(index)"
v-if="hasRemainingBlocks">
v-if="hasRemainingBlocks && allowCreate">
<span v-svg symbol="add"></span>
</a17-button>
<div slot="dropdown-action">
Expand Down

0 comments on commit 44e993e

Please sign in to comment.