mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
comment notification storage verification
This commit is contained in:
@@ -77,9 +77,9 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
async getNotificationData() {
|
||||
|
||||
const keyExist = await this.storageservice.keyExist("Notifications")
|
||||
//const keyExist = await this.storageservice.keyExist("Notifications")
|
||||
|
||||
if(keyExist) {
|
||||
//if(keyExist) {
|
||||
this.storageservice.get("Notifications").then((value) => {
|
||||
|
||||
this.DataArray = []
|
||||
@@ -125,7 +125,7 @@ export class ProfilePage implements OnInit {
|
||||
}).catch((error) => {
|
||||
console.error('storage getnotification: ',error)
|
||||
})
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user