fix(task): don't show edit button when the user does not have permission to edit the task

This commit is contained in:
kolaente 2024-01-28 13:24:58 +01:00
parent ee980e2a00
commit a579a8e65f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@
@change="addImage"
/>
<ul class="tiptap__editor-actions d-print-none" v-if="bottomActions.length === 0 && !isEditing">
<ul class="tiptap__editor-actions d-print-none" v-if="bottomActions.length === 0 && !isEditing && isEditEnabled">
<li>
<BaseButton
@click="setEdit"