Move alertDialog to AppLayout fixes #33

This commit is contained in:
vollstock committed 2025-10-29 18:04:09 +01:00
1 parent 9cf5db37bc
commit 4701efddd8
7 files changed
+200 -41

No files matched your search

+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: {}
})