From 66ec54b77bcd0dbae8570794fdd647b1c514b34c Mon Sep 17 00:00:00 2001 From: Gaetan SENN Date: Fri, 24 May 2024 10:08:59 +0200 Subject: [PATCH] fix: fix reactivity for notifications values plugin --- lib/components/others/notification/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/others/notification/plugin.js b/lib/components/others/notification/plugin.js index e5ba98a..79b9a5d 100644 --- a/lib/components/others/notification/plugin.js +++ b/lib/components/others/notification/plugin.js @@ -4,7 +4,7 @@ import Timer from '../../utils/timer' import WrapperComponent from './NotificationWrapper' const timeout = 5000 -const notifications = [] +const notifications = Vue.observable([]) export default function (ctx, inject) { if (process.server) return false