fix: use componentData prop in draggable to set class

This commit is contained in:
Dominik Pschenitschni 2021-10-16 13:54:24 +02:00
parent 9c730d3381
commit 80163ee992
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -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