1
0

Fix showing edit buttons when the user does not have the rights to use them

This commit is contained in:
kolaente
2021-06-03 16:27:41 +02:00
parent c92062b6a5
commit 0cd9d43a7c
5 changed files with 15 additions and 7 deletions

View File

@ -31,7 +31,7 @@
@focusout="() => saveBucketTitle(bucket.id)"
@keydown.enter.prevent.stop="() => saveBucketTitle(bucket.id)"
class="title input"
contenteditable="true"
:contenteditable="canWrite"
spellcheck="false">{{ bucket.title }}</h2>
<span
:class="{'is-max': bucket.tasks.length >= bucket.limit}"