Move alertDialog to AppLayout fixes #33

This commit is contained in:
2025-10-29 18:04:09 +01:00
parent 69695e88aa
commit 9439d14b59
7 changed files with 200 additions and 41 deletions
+17
View File
@@ -0,0 +1,17 @@
import { defineStore } from 'pinia'
export const alertStore = defineStore('alert', {
state: () => {
return {
open: false,
title: "",
message: "",
cancelText: "Abbrechen",
onCancel: () => { },
actionText: "Ok",
actionVariant: "action" as "action" | "destructive",
onAction: () => { }
}
},
actions: {}
})