Compare commits

...

2 Commits

Author SHA1 Message Date
7ed0388acb Fix for #34
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 19s
Build and Push Docker Images / build-frontend (push) Successful in 1m8s
2026-01-30 16:15:31 +01:00
3aa0c7d77a Change for #34 2026-01-30 16:12:55 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ onBeforeUnmount(() => window.removeEventListener('beforeunload', handleBeforeUnl
Nein, bleiben
</button>
<button @click="confirmLeave" class="btn-confirm">
Ja, verwerfen
Ja, verlassen
</button>
</div>

View File

@@ -12,7 +12,7 @@ const router = useRouter()
const modal = useModal()
const auth = useAuthStore()
const guard = ref(true)
@@ -1456,6 +1456,8 @@ const closeDocument = async () => {
await useFiles().uploadFiles(fileData, [file])
guard.value = false
await router.push(`/createDocument/show/${itemInfo.value.id}`)
}
@@ -3144,7 +3146,7 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {
</UTabs>
<UProgress animation="carousel" v-else/>
</UDashboardPanelContent>
<PageLeaveGuard :when="true"/>
<PageLeaveGuard :when="guard"/>