Add ability to detect whether backend supports editing
This commit is contained in:
parent
fa5d35523d
commit
f56298adbd
5 changed files with 8 additions and 5 deletions
|
|
@ -74,7 +74,7 @@
|
|||
/><span>{{ $t("status.unbookmark") }}</span>
|
||||
</button>
|
||||
<button
|
||||
v-if="ownStatus"
|
||||
v-if="ownStatus && editingAvailable"
|
||||
class="button-default dropdown-item dropdown-item-icon"
|
||||
@click.prevent="editStatus"
|
||||
@click="close"
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
/><span>{{ $t("status.edit") }}</span>
|
||||
</button>
|
||||
<button
|
||||
v-if="isEdited"
|
||||
v-if="isEdited && editingAvailable"
|
||||
class="button-default dropdown-item dropdown-item-icon"
|
||||
@click.prevent="showStatusHistory"
|
||||
@click="close"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue