mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Notification solved
This commit is contained in:
@@ -192,9 +192,14 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
deleteNotification(index) {
|
||||
this.notificationdata = this.notificationdata.filter(item => item.index != index);
|
||||
console.log(this.notificationdata)
|
||||
console.log(this.notificationdata)
|
||||
|
||||
this.storageservice.store("Notifications", JSON.stringify(this.notificationdata)).then(() => {
|
||||
//this.storageservice.remove("Notifications")
|
||||
this.storageservice.store("Notifications", this.notificationdata).then((store) => {
|
||||
console.log(store)
|
||||
this.storageservice.get("Notifications").then((value) => {
|
||||
console.log(value)
|
||||
}).catch((error) => {
|
||||
console.error('storage delete notification: ',error)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user