mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve set default value
This commit is contained in:
@@ -40,7 +40,17 @@ export class NotificationsService {
|
||||
private toastService: ToastService,
|
||||
private zone: NgZone,
|
||||
private activeroute: ActivatedRoute,
|
||||
private jsonstore: JsonStore) { }
|
||||
private jsonstore: JsonStore) {
|
||||
|
||||
this.storageService.get("Notifications").then((value) => {
|
||||
|
||||
if(value == 'ée') {
|
||||
this.storageService.store("Notifications", [])
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
registerCallback(type: string, funx: Function, object: any = {} ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user