mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
Fix json store
This commit is contained in:
@@ -17,7 +17,7 @@ const { Storage } = Plugins; */
|
|||||||
) {}
|
) {}
|
||||||
|
|
||||||
key(key) {
|
key(key) {
|
||||||
this.keyName = (SHA1('service'+this.constructor.name+'key')).toString()
|
this.keyName = (SHA1('service'+this.constructor.name+key)).toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Store the value
|
// Store the value
|
||||||
|
|||||||
@@ -70,8 +70,6 @@ export class HeaderPage implements OnInit {
|
|||||||
this.storageservice.get("Notifications").then((value) => {
|
this.storageservice.get("Notifications").then((value) => {
|
||||||
console.log("Init get store", value)
|
console.log("Init get store", value)
|
||||||
|
|
||||||
if(value == 'ée') return false
|
|
||||||
|
|
||||||
/* var data = JSON.parse(value); */
|
/* var data = JSON.parse(value); */
|
||||||
this.notificationLength = value.length;
|
this.notificationLength = value.length;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user