diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 5b577393..82c4cdae 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -85,6 +85,8 @@ @end="e => saveListPosition(e, nk)" v-bind="dragOptions" handle=".handle" + :disabled="n.id < 0" + :class="{'dragging-disabled': n.id < 0}" >
diff --git a/src/views/list/views/List.vue b/src/views/list/views/List.vue index 0aed4edd..a59c9d27 100644 --- a/src/views/list/views/List.vue +++ b/src/views/list/views/List.vue @@ -87,6 +87,8 @@ @end="saveTaskPosition" v-bind="dragOptions" handle=".handle" + :disabled="!canWrite" + :class="{'dragging-disabled': !canWrite}" >