mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix
This commit is contained in:
@@ -171,9 +171,7 @@ export class NotificationsService {
|
||||
console.log('Push notification recived: failure ' + error.responseText);
|
||||
console.log(JSON.stringify(error));
|
||||
}
|
||||
).fail((data)=>{
|
||||
console.log('faild', data)
|
||||
})
|
||||
)
|
||||
} else {
|
||||
console.log('not called')
|
||||
}
|
||||
@@ -241,7 +239,7 @@ export class NotificationsService {
|
||||
}
|
||||
|
||||
this.callbacks.forEach( e=> {
|
||||
if(e.type == data.Object && e.type == 'any') {
|
||||
if(e.type == data.Object || e.type == 'any') {
|
||||
e.funx()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user