bugs solved

This commit is contained in:
Eudes Inácio
2023-01-04 15:03:29 +01:00
parent 01b438b9f6
commit c8bdcfce8e
6 changed files with 25 additions and 21 deletions
+6 -1
View File
@@ -31,6 +31,7 @@ export class ProfilePage implements OnInit {
location: "Gabinete";
isProfileOpen = false
hideImage = false
notificationStatus = '';
constructor(private modalController: ModalController,
private authService: AuthService,
@@ -117,7 +118,11 @@ export class ProfilePage implements OnInit {
});
this.notificationdata = this.DataArray
}).catch((error) => {
console.error('storage getnotification: ',error)
if(!error) {
this.notificationStatus = this.notificationdata.length + " novas notificações";
} else {
console.error('storage getnotification: ',error)
}
})
/* await new Promise(resolve => setTimeout(resolve, 1000));
await this.getNotificationData(); */