Many Changes

This commit is contained in:
2024-02-18 19:51:00 +01:00
parent 1a0b7288df
commit fa0eb73363
11 changed files with 720 additions and 322 deletions

View File

@@ -62,11 +62,11 @@ setupPage()
<template>
<h1
class="text-center my-3 font-bold text-2xl"
class="mb-3 truncate font-bold text-2xl"
v-if="currentItem"
>{{currentItem.name}}</h1>
>Vertrag: {{currentItem.name}}</h1>
<UTabs
v-if="currentItem && mode == 'show'"
v-if="currentItem && mode === 'show'"
:items="[{label: 'Informationen'}, {label: 'Logbuch'}, {label: 'Dokumente'}]"
>
<template #item="{item}">
@@ -74,7 +74,7 @@ setupPage()
<div v-if="item.label === 'Informationen'">
<Toolbar>
<UButton
v-if="mode == 'show' && currentItem.id"
v-if="mode === 'show' && currentItem.id"
@click="editCustomer"
>
Bearbeiten