mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
remove notification for mobile
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -133,8 +133,8 @@ class SynchroService {
|
||||
|
||||
if(idConnection != this.id ) {
|
||||
|
||||
//if(window['platform'].is('desktop') || this.platform.is('mobileweb')) {}
|
||||
//else return false
|
||||
if(window['platform'].is('desktop') || this.platform.is('mobileweb')) {}
|
||||
else return false
|
||||
|
||||
if(environment.production) return false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user