This commit is contained in:
Peter Maquiran
2023-08-22 09:22:08 +01:00
parent 5e069a3783
commit e8adb78b56
2 changed files with 13 additions and 7 deletions
+8 -2
View File
@@ -65,11 +65,17 @@ export class HeaderPage implements OnInit {
if(event.notification == "recive") {
console.log('header', event.notification)
this.notificationLength++
window['headerupdate']()
if(window['headerupdate']) {
window['headerupdate']()
}
} else if(event.notification == "deleted") {
console.log('header', event.notification)
this.notificationLength--
window['headerupdate']()
if(window['headerupdate']) {
window['headerupdate']()
}
}
});