Disables publish as private status if user is not allowed to publish item.
This commit is contained in:
parent
3ce049739b
commit
df1a639a93
|
@ -38,7 +38,8 @@
|
|||
v-for="(statusOption, index) of availableStatus"
|
||||
:key="index"
|
||||
v-model="selectedStatus"
|
||||
:native-value="statusOption.slug">
|
||||
:native-value="statusOption.slug"
|
||||
:disabled="(statusOption.slug === 'private' || statusOption.slug === 'publish') && !currentUserCanPublish">
|
||||
<span class="icon has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-18px"
|
||||
|
|
Loading…
Reference in New Issue