This commit is contained in:
2024-03-04 22:19:37 +01:00
parent 8f444bd917
commit fb8041c32e

View File

@@ -634,6 +634,7 @@ setupPage()
variant="outline"
v-if="itemInfo.project"
icon="i-heroicons-arrow-right-end-on-rectangle"
@click="router.push(`/projects/show/${itemInfo.project}`)"
>Projekt</UButton>
</InputGroup>
@@ -764,7 +765,7 @@ setupPage()
row.price = dataStore.getProductById(row.product).sellingPrice || 0"
>
<template #label>
{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }}
<span class="truncate">{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }}</span>
</template>
</USelectMenu>
</td>
@@ -867,9 +868,9 @@ setupPage()
>
<UButton
icon="i-heroicons-document-text"
@click="showEditRowDescription = true"
@click="row.showEdit = true"
/>
<UModal v-model="showEditRowDescription">
<UModal v-model="row.showEdit">
<UCard>
<template #header>
Beschreibung bearbeiten
@@ -882,7 +883,7 @@ setupPage()
</UTextarea>
<template #footer>
<UButton
@click="showEditRowDescription = false"
@click="row.showEdit = false"
>
Speichern
</UButton>