From 267bb406358e18b0ad31310be9571566813a52de Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 4 Jul 2024 16:17:49 -0300 Subject: [PATCH] Fixes #904. --- .../admin/components/other/item-creation-status-dialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/admin/components/other/item-creation-status-dialog.vue b/src/views/admin/components/other/item-creation-status-dialog.vue index fed70b25c..30eb94b05 100644 --- a/src/views/admin/components/other/item-creation-status-dialog.vue +++ b/src/views/admin/components/other/item-creation-status-dialog.vue @@ -84,7 +84,7 @@ ], data() { return { - selectedStatus: !this.$adminOptions.hideItemEditionStatusPublishOption ? 'publish' : 'private' + selectedStatus: this.currentUserCanPublish ? ( !this.$adminOptions.hideItemEditionStatusPublishOption ? 'publish' : 'private' ) : 'draft' } }, computed: {