fix: use componentData prop in draggable to set class
This commit is contained in:
parent
9c730d3381
commit
80163ee992
1 changed files with 3 additions and 1 deletions
|
@ -88,8 +88,10 @@
|
|||
@end="saveTaskPosition"
|
||||
handle=".handle"
|
||||
:disabled="!canWrite"
|
||||
:class="{'dragging-disabled': !canWrite}"
|
||||
item-key="id"
|
||||
:component-data="{
|
||||
class: { 'dragging-disabled': !canWrite },
|
||||
}"
|
||||
>
|
||||
<template #item="{element: t}">
|
||||
<single-task-in-list
|
||||
|
|
Loading…
Reference in a new issue