fix: don't enable editing when the user has no rights for it
related: #804
This commit is contained in:
parent
7cd3394da5
commit
96ef25ba01
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
<a @click="action.action">{{ action.title }}</a>
|
<a @click="action.action">{{ action.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<template v-else-if="showSave">
|
<template v-else-if="isEditEnabled && showSave">
|
||||||
<ul v-if="!isEditActive" class="actions">
|
<ul v-if="!isEditActive" class="actions">
|
||||||
<li>
|
<li>
|
||||||
<a @click="toggleEdit">{{ $t('input.editor.edit') }}</a>
|
<a @click="toggleEdit">{{ $t('input.editor.edit') }}</a>
|
||||||
|
|
Loading…
Reference in a new issue