Skip to content

Commit 520d48e

Browse files
authored
Merge pull request #8723 from ProcessMaker/bugfix/FOUR-29161
FOUR-29161 - Use correct context for notifications
2 parents b60ade1 + b425ed6 commit 520d48e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/js/bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ window.ProcessMaker = {
142142
* @returns {void}
143143
*/
144144
pushNotification(notification) {
145-
if (this.notifications.filter((x) => x.id === notification).length === 0) {
146-
this.notifications.push(notification);
145+
if (window.ProcessMaker.notifications.filter((x) => x.id === notification).length === 0) {
146+
window.ProcessMaker.notifications.push(notification);
147147
}
148148
},
149149

0 commit comments

Comments
 (0)