Test notification

This commit is contained in:
Natsumi
2026-01-24 01:04:41 +13:00
committed by pa
parent dfce6760ca
commit 4a10ab70e8
3 changed files with 26 additions and 3 deletions

View File

@@ -2332,6 +2332,14 @@ export const useNotificationStore = defineStore('Notification', () => {
refreshNotifications();
}
function testNotification() {
playNoty({
type: 'Event',
created_at: new Date().toJSON(),
data: 'Notification Test'
});
}
return {
notificationInitStatus,
notificationTable,
@@ -2353,6 +2361,7 @@ export const useNotificationStore = defineStore('Notification', () => {
handleNotificationV2Update,
handleNotificationHide,
handleNotification,
handleNotificationV2
handleNotificationV2,
testNotification
};
});