We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60ade1 commit b425ed6Copy full SHA for b425ed6
resources/js/bootstrap.js
@@ -142,8 +142,8 @@ window.ProcessMaker = {
142
* @returns {void}
143
*/
144
pushNotification(notification) {
145
- if (this.notifications.filter((x) => x.id === notification).length === 0) {
146
- this.notifications.push(notification);
+ if (window.ProcessMaker.notifications.filter((x) => x.id === notification).length === 0) {
+ window.ProcessMaker.notifications.push(notification);
147
}
148
},
149
0 commit comments