mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Removed synchro services
This commit is contained in:
@@ -6,7 +6,7 @@ import { Injectable } from '@angular/core';
|
||||
export class BackgroundService {
|
||||
|
||||
callBacks: {
|
||||
type: 'Offline' | 'Online',
|
||||
type: 'Offline' | 'Online' | 'Notification',
|
||||
object?: string
|
||||
funx: Function
|
||||
}[] = []
|
||||
@@ -39,7 +39,7 @@ export class BackgroundService {
|
||||
})
|
||||
}
|
||||
|
||||
registerBackService(type: 'Offline' | 'Online', funx: Function, object = '') {
|
||||
registerBackService(type: 'Offline' | 'Online' | 'Notification', funx: Function, object = '') {
|
||||
this.callBacks.push({
|
||||
type,
|
||||
funx,
|
||||
|
||||
Reference in New Issue
Block a user