Fix json store

This commit is contained in:
Peter Maquiran
2021-08-31 13:33:52 +01:00
parent 067b54026e
commit ea07cbd8d0
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const { Storage } = Plugins; */
) {}
key(key) {
this.keyName = (SHA1('service'+this.constructor.name+'key')).toString()
this.keyName = (SHA1('service'+this.constructor.name+key)).toString()
}
// Store the value
-2
View File
@@ -70,8 +70,6 @@ export class HeaderPage implements OnInit {
this.storageservice.get("Notifications").then((value) => {
console.log("Init get store", value)
if(value == 'žée') return false
/* var data = JSON.parse(value); */
this.notificationLength = value.length;
})