mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
bugs solved
This commit is contained in:
@@ -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(); */
|
||||
|
||||
Reference in New Issue
Block a user