fix: don't enable editing when the user has no rights for it

related: #804
This commit is contained in:
kolaente 2021-09-29 21:22:44 +02:00
parent 7cd3394da5
commit 96ef25ba01
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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>