Improve notification counting

This commit is contained in:
Peter Maquiran
2021-08-31 13:11:46 +01:00
parent 98def4edf3
commit 57192fb3b2
2 changed files with 10 additions and 9 deletions
+10 -8
View File
@@ -82,7 +82,6 @@ export class HomePage implements OnInit {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
});
this.updateList()
window['platform'] = platform
window['inactivity/function'] = () => {
@@ -95,13 +94,6 @@ export class HomePage implements OnInit {
}
}
var myWorker = new Worker(new URL('./nice.worker.js', import.meta.url) );
myWorker.onmessage = function(oEvent) {
console.log('Worker said : ' + oEvent.data);
}
myWorker.postMessage('ali');
}
@@ -121,7 +113,17 @@ export class HomePage implements OnInit {
this.notificationsService.onReceviNotification();
}
this.updateList()
var myWorker = new Worker(new URL('./nice.worker.js', import.meta.url) );
myWorker.onmessage = function(oEvent) {
console.log('Worker said : ' + oEvent.data);
}
myWorker.postMessage('ali');
}
mobilefirstConnect() {
if(window['WLAuthorizationManager']) {
-1
View File
@@ -113,7 +113,6 @@
</div>
</div>
<!-- <pdf-viewer [src]="pdfSrc"
[render-text]="true"
style="display: block;"