mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Profile get old notification bug resolved
This commit is contained in:
@@ -53,7 +53,7 @@ export class ProfilePage implements OnInit {
|
|||||||
notImplemented() { }
|
notImplemented() { }
|
||||||
|
|
||||||
async getNotificationData(){
|
async getNotificationData(){
|
||||||
|
this.notificationservice.tempClearArray();
|
||||||
this.storageservice.get("Notifications").then((value) => {
|
this.storageservice.get("Notifications").then((value) => {
|
||||||
console.log("Init get store", value)
|
console.log("Init get store", value)
|
||||||
|
|
||||||
@@ -120,7 +120,7 @@ export class ProfilePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
||||||
this.deleteNotification(index);
|
|
||||||
if (Service === "agenda") {
|
if (Service === "agenda") {
|
||||||
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
||||||
}
|
}
|
||||||
@@ -167,7 +167,7 @@ export class ProfilePage implements OnInit {
|
|||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expedientes-pr', IdObject, 'gabinete-digital']));
|
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expedientes-pr', IdObject, 'gabinete-digital']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.deleteNotification(index);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -175,6 +175,10 @@ export class NotificationsService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tempClearArray(){
|
||||||
|
this.DataArray = [];
|
||||||
|
}
|
||||||
|
|
||||||
async onReceviNotification() {
|
async onReceviNotification() {
|
||||||
|
|
||||||
if(window['WLAuthorizationManager']) {
|
if(window['WLAuthorizationManager']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user