From b425ed69fb3b11fb7e86cb92da5cd998b34f9663 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Thu, 5 Feb 2026 14:08:49 -0800 Subject: [PATCH] Use correct context for notifications --- resources/js/bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index cfecac649a..0ea799903c 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -142,8 +142,8 @@ window.ProcessMaker = { * @returns {void} */ pushNotification(notification) { - if (this.notifications.filter((x) => x.id === notification).length === 0) { - this.notifications.push(notification); + if (window.ProcessMaker.notifications.filter((x) => x.id === notification).length === 0) { + window.ProcessMaker.notifications.push(notification); } },