1
0

Don't allow dragging a list when the user does not have the rights

This commit is contained in:
kolaente
2021-07-29 13:05:33 +02:00
parent 8a08a41a3c
commit 3c2d89a0f6
4 changed files with 10 additions and 0 deletions

View File

@ -85,6 +85,8 @@
@end="e => saveListPosition(e, nk)"
v-bind="dragOptions"
handle=".handle"
:disabled="n.id < 0"
:class="{'dragging-disabled': n.id < 0}"
>
<transition-group
type="transition"