feat: Lieferantenanlage verschiebbar machen
This commit is contained in:
@@ -22,6 +22,10 @@ const props = defineProps({
|
||||
inModal: {
|
||||
type: Boolean,
|
||||
},
|
||||
draggable: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
}
|
||||
@@ -523,6 +527,8 @@ const updateItem = async () => {
|
||||
</UDashboardNavbar>
|
||||
<UDashboardNavbar
|
||||
v-else
|
||||
:data-draggable-handle="props.draggable ? '' : undefined"
|
||||
:class="props.draggable ? 'cursor-move select-none' : undefined"
|
||||
:ui="{center: 'flex items-stretch gap-1.5 min-w-0'}"
|
||||
>
|
||||
<template #center>
|
||||
|
||||
Reference in New Issue
Block a user