remove notification for mobile

This commit is contained in:
Peter Maquiran
2021-08-31 19:31:46 +01:00
parent 82a601ccec
commit 3437c19027
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ export class NotificationsService {
registerCallback(type: string, funx: Function, object: any = {} ) {
this.callbacks.push({type, funx})
synchro.registerCallback('Notification',funx, type)
if(!object.hasOwnProperty('desktop') && object['desktop'] != false) {
synchro.registerCallback('Notification',funx, type)
}
}