update(Dashboard Grid Item):makes a widget only draggable if the dragAction is defined

This commit is contained in:
SimonGschnell
2025-04-01 09:28:29 +02:00
parent 232da256ac
commit 702a84a25d
+1 -1
View File
@@ -69,7 +69,7 @@ export default {
@dragstart="tryDragStart($event, item)"
@drag="$emit('dragging',$event)"
@dragend="$emit('endDrag', $event)"
:draggable="active && !item.placeholder">
:draggable="active && !item.placeholder && dragAction != ''">
<slot v-bind="item"></slot>
</div>`
}