fix: Schließen im Lieferantenfenster ermöglichen
This commit is contained in:
@@ -527,14 +527,13 @@ const updateItem = async () => {
|
|||||||
</UDashboardNavbar>
|
</UDashboardNavbar>
|
||||||
<UDashboardNavbar
|
<UDashboardNavbar
|
||||||
v-else
|
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'}"
|
:ui="{center: 'flex items-stretch gap-1.5 min-w-0'}"
|
||||||
>
|
>
|
||||||
<template #center>
|
<template #center>
|
||||||
<h1
|
<h1
|
||||||
v-if="item"
|
v-if="item"
|
||||||
:class="['text-xl','font-medium']"
|
:data-draggable-handle="props.draggable ? '' : undefined"
|
||||||
|
:class="['text-xl', 'font-medium', props.draggable ? 'cursor-move select-none' : '']"
|
||||||
>{{ item.id ? `${dataType.labelSingle} bearbeiten` : `${dataType.labelSingle} erstellen` }}</h1>
|
>{{ item.id ? `${dataType.labelSingle} bearbeiten` : `${dataType.labelSingle} erstellen` }}</h1>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
@@ -553,7 +552,8 @@ const updateItem = async () => {
|
|||||||
Erstellen
|
Erstellen
|
||||||
</UButton>
|
</UButton>
|
||||||
<UButton
|
<UButton
|
||||||
@click="modal.close()"
|
@pointerdown.stop
|
||||||
|
@click.stop="modal.close()"
|
||||||
color="red"
|
color="red"
|
||||||
class="ml-2"
|
class="ml-2"
|
||||||
icon="i-heroicons-x-mark"
|
icon="i-heroicons-x-mark"
|
||||||
|
|||||||
Reference in New Issue
Block a user