diff --git a/src/runtime/components/overlays/Notification.vue b/src/runtime/components/overlays/Notification.vue index 0348044a..561a3f39 100644 --- a/src/runtime/components/overlays/Notification.vue +++ b/src/runtime/components/overlays/Notification.vue @@ -93,7 +93,7 @@ export default defineComponent({ }, timeout: { type: Number, - default: 5000 + default: () => config.default.timeout }, actions: { type: Array as PropType, diff --git a/src/runtime/ui.config.ts b/src/runtime/ui.config.ts index 258170be..449b89f7 100644 --- a/src/runtime/ui.config.ts +++ b/src/runtime/ui.config.ts @@ -1397,6 +1397,7 @@ export const notification = { default: { color: 'primary', icon: null, + timeout: 5000, closeButton: { icon: 'i-heroicons-x-mark-20-solid', color: 'gray',