This commit is contained in:
Peter Maquiran
2022-12-30 15:39:42 +01:00
8 changed files with 835 additions and 53 deletions
+6 -1
View File
@@ -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)
})