Fix counting

This commit is contained in:
Peter Maquiran
2021-08-31 10:17:23 +01:00
parent ca4f9e47de
commit 81b825b6b8
3 changed files with 12 additions and 8 deletions
+3 -1
View File
@@ -79,9 +79,11 @@ class SynchroService {
private onopen = () =>{
this.BackgroundService.online()
if(!this.conected) {
this.BackgroundService.online()
this.callBacks.forEach((e)=>{
if(e.type == 'Online') {
e.funx()
+2
View File
@@ -70,6 +70,8 @@ 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;
})
+7 -7
View File
@@ -36,13 +36,13 @@ export class DespachoStoreService {
// (update:customTask) => update.Folio = 'Formação 5'
// )
// this.Query().Update(
// (select:customTask): boolean => select.Folio == 'Formação',
// (update:customTask) => {
// update.Folio = 'Formação 7';
// update.DocumentURL = 'peter';
// }
// )
// this.Query().Update(
// (select:customTask): boolean => select.Folio == 'Formação',
// (update:customTask) => {
// update.Folio = 'Formação 7';
// update.DocumentURL = 'peter';
// }
// )
// this.Query().Update(
// (select:customTask): boolean => select.Folio == 'Formação',