fix null array

This commit is contained in:
Peter Maquiran
2022-07-11 14:33:47 +01:00
parent f22292a406
commit 8fc8726cfa
9 changed files with 11 additions and 13 deletions
+3 -5
View File
@@ -253,9 +253,7 @@ export class AgendaPage implements OnInit {
ngOnInit() {
//this.getFromDB();
setTimeout(() =>{
setTimeout(() => {
const pathname = window.location.pathname
let realoadCounter = 0
this.router.events.forEach((event) => {
@@ -350,7 +348,7 @@ export class AgendaPage implements OnInit {
// calendar change date
this.eventSelectedDate = new Date(ev);
this.updateEventListBox()
this.updateEventListBox();
};
@@ -1480,7 +1478,7 @@ export class AgendaPage implements OnInit {
// THIS LINE
this.updateEventListBox()
this.updateEventListBox();
}
@@ -43,7 +43,7 @@ export class DespachoPrPage implements OnInit {
serialNumber: string;
caller: string;
profile: string;
intervenientes: any;
intervenientes: any = []
cc: any = [];
constructor(
@@ -45,7 +45,7 @@ export class DespachoPage implements OnInit {
serialnumber: string;
caller: string;
profile: string;
intervenientes: any;
intervenientes: any = []
cc: any = [];
constructor(private activateRoute: ActivatedRoute,
@@ -23,7 +23,7 @@ export class DiplomaAssinarPage implements OnInit {
profile: string;
task: any
fulltask: any
intervenientes: any;
intervenientes: any = []
cc: any = [];
attachments:any;
customDate: any;
@@ -28,7 +28,7 @@ export class DiplomasGerarPage implements OnInit {
profile: string;
task: any
fulltask: any
intervenientes: any;
intervenientes: any = []
cc: any = [];
attachments:any;
customDate: any;
@@ -32,7 +32,7 @@ export class DiplomaPage implements OnInit {
profile: string;
task: any
fulltask: any
intervenientes: any;
intervenientes: any = []
cc: any = [];
attachments: any;
customDate: any
@@ -53,7 +53,7 @@ export class ExpedienteDetailPage implements OnInit {
serialNumber: string;
caller: string;
profile: string;
intervenientes: any;
intervenientes: any = []
cc: any = [];
documents: SearchList[] = [];
attachments: any;
@@ -39,7 +39,7 @@ export class ExpedientePrPage implements OnInit {
serialnumber: string;
caller:string;
profile: string;
intervenientes: any;
intervenientes: any = [];
cc: any = [];
loggeduser: LoginUserRespose;
@@ -46,7 +46,7 @@ export class PedidoPage implements OnInit {
eventsList: Event[];
serialnumber: string;
caller: string;
intervenientes: any;
intervenientes: any = []
cc: any = [];
loggeduser: LoginUserRespose;