Updated UUID generation

This commit is contained in:
Constantin Graf
2026-09-24 11:16:25 +02:00
committed by Constantin Graf
parent e801c4311c
commit fff3502e53

View File

@@ -19,7 +19,7 @@ export const useNotificationsStore = defineStore('notifications', () => {
const showActionBlockedModal = ref(false);
function addNotification(type: NotificationType, title: string, message?: string) {
const uuid = Math.random().toString(36).substring(7);
const uuid = crypto.randomUUID();
notifications.value.push({ title, message, type, uuid });
setTimeout(() => {