Fixes disabled button for creating new items.

This commit is contained in:
mateuswetah 2022-02-10 12:11:10 -03:00
parent eee7ce86c8
commit 7ad968f8f8
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@
</b-tabs>
<a
v-if="currentUserCanEditItems && itemMetadatum.item && itemMetadatum.item.id && (maxMultipleValues === undefined || maxMultipleValues > selected.length)"
:disabled="!$adminOptions.itemEditionMode"
:disabled="$adminOptions.itemEditionMode"
@click="editItemModalOpen = !editItemModalOpen"
class="add-link">
<span class="icon is-small">