Do not hide private submit button due to hideItemEditionStatusPublishOption.

This commit is contained in:
mateuswetah 2024-05-07 15:45:21 -03:00
parent 2057505154
commit 0c8560267b
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
{{ status == 'draft' ? $i18n.get('label_update_draft') : $i18n.get('label_change_to_draft') }} {{ status == 'draft' ? $i18n.get('label_update_draft') : $i18n.get('label_change_to_draft') }}
</b-dropdown-item> </b-dropdown-item>
<b-dropdown-item <b-dropdown-item
v-if="currentUserCanPublish && !$adminOptions.hideItemEditionStatusPublishOption" v-if="currentUserCanPublish"
:class="{ 'is-forced-last-option': status == 'private' }" :class="{ 'is-forced-last-option': status == 'private' }"
aria-role="listitem" aria-role="listitem"
@click="$emit( @click="$emit(