mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Remove relevant console log,
This commit is contained in:
@@ -59,8 +59,8 @@ export class HeaderPage implements OnInit {
|
||||
this.eventrigger.getObservable().subscribe(async (data) => {
|
||||
if (data.notification === "delete" || "recive") {
|
||||
await this.notificationLengthData();
|
||||
console.log('Current badge: ', this.notificationLength)
|
||||
console.log('Deleted notification', data.notification)
|
||||
|
||||
|
||||
}
|
||||
|
||||
}) */
|
||||
@@ -86,14 +86,14 @@ export class HeaderPage implements OnInit {
|
||||
|
||||
async notificationLengthData() {
|
||||
await this.storageservice.get("Notifications").then((value) => {
|
||||
console.log("Init get store", value)
|
||||
|
||||
|
||||
/* var data = JSON.parse(value); */
|
||||
this.notificationLength = value.length;
|
||||
console.log('Timer badge count 1', this.notificationLength)
|
||||
|
||||
})
|
||||
|
||||
console.log('Timer badge count2', this.notificationLength)
|
||||
|
||||
}
|
||||
|
||||
hideSearch() {
|
||||
|
||||
Reference in New Issue
Block a user