fix: Lieferantenfenster direkt steuerbar machen
Some checks failed
Build and Push Docker Images / build-backend (push) Successful in 46s
Build and Push Docker Images / build-frontend (push) Successful in 1m12s
Build and Push Docker Images / build-website (push) Successful in 22s
Build and Push Docker Images / build-central-services-api (push) Successful in 22s
Build and Push Docker Images / build-docs (push) Has been cancelled
Build and Push Docker Images / build-central-services-admin (push) Has been cancelled

This commit is contained in:
2026-09-09 13:04:28 +02:00
parent bb18a974dd
commit 48199b0ed7
2 changed files with 35 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ const props = defineProps({
inModal: {
type: Boolean,
},
draggable: {
floatingWindow: {
type: Boolean,
default: false,
},
@@ -531,9 +531,8 @@ const updateItem = async () => {
>
<template #center>
<h1
v-if="item"
:data-draggable-handle="props.draggable ? '' : undefined"
:class="['text-xl', 'font-medium', props.draggable ? 'cursor-move select-none' : '']"
v-if="item && !props.floatingWindow"
:class="['text-xl', 'font-medium']"
>{{ item.id ? `${dataType.labelSingle} bearbeiten` : `${dataType.labelSingle} erstellen` }}</h1>
</template>
<template #right>
@@ -552,8 +551,8 @@ const updateItem = async () => {
Erstellen
</UButton>
<UButton
@pointerdown.stop
@click.stop="modal.close()"
v-if="!props.floatingWindow"
@click="modal.close()"
color="red"
class="ml-2"
icon="i-heroicons-x-mark"