feat: Lieferantenanlage verschiebbar machen

This commit is contained in:
2026-09-09 12:43:39 +02:00
parent 1c39b69513
commit 5141a1f3ac
2 changed files with 48 additions and 1 deletions

View File

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