diff --git a/frontend-modern/src/stores/notifications.ts b/frontend-modern/src/stores/notifications.ts index db7e7bd6e..dfd4bc4d4 100644 --- a/frontend-modern/src/stores/notifications.ts +++ b/frontend-modern/src/stores/notifications.ts @@ -18,4 +18,8 @@ export const notificationStore = { info: (message: string, duration: number = DEFAULT_DURATIONS.info) => { return showToast('info', message, undefined, duration); }, + + warning: (message: string, duration: number = DEFAULT_DURATIONS.info) => { + return showToast('warning', message, undefined, duration); + }, };