diff --git a/src/app/services/notifications.service.ts b/src/app/services/notifications.service.ts index 6f7301aac..feb297b5b 100644 --- a/src/app/services/notifications.service.ts +++ b/src/app/services/notifications.service.ts @@ -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 = {} ) {