mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Fix json store
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user