mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 14:32:18 +00:00
update(Dashboard Grid Item):makes a widget only draggable if the dragAction is defined
This commit is contained in:
@@ -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>`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user