Merge pull request #908 from tainacan/feature/#904

Fixes #906.
This commit is contained in:
Mateus Machado Luna 2024-07-04 16:30:30 -03:00 committed by GitHub
commit e62224fabf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@
],
data() {
return {
selectedStatus: !this.$adminOptions.hideItemEditionStatusPublishOption ? 'publish' : 'private'
selectedStatus: this.currentUserCanPublish ? ( !this.$adminOptions.hideItemEditionStatusPublishOption ? 'publish' : 'private' ) : 'draft'
}
},
computed: {