mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix null array
This commit is contained in:
@@ -253,9 +253,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
//this.getFromDB();
|
setTimeout(() => {
|
||||||
|
|
||||||
setTimeout(() =>{
|
|
||||||
const pathname = window.location.pathname
|
const pathname = window.location.pathname
|
||||||
let realoadCounter = 0
|
let realoadCounter = 0
|
||||||
this.router.events.forEach((event) => {
|
this.router.events.forEach((event) => {
|
||||||
@@ -350,7 +348,7 @@ export class AgendaPage implements OnInit {
|
|||||||
// calendar change date
|
// calendar change date
|
||||||
this.eventSelectedDate = new Date(ev);
|
this.eventSelectedDate = new Date(ev);
|
||||||
|
|
||||||
this.updateEventListBox()
|
this.updateEventListBox();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1480,7 +1478,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
// THIS LINE
|
// THIS LINE
|
||||||
this.updateEventListBox()
|
this.updateEventListBox();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export class DespachoPrPage implements OnInit {
|
|||||||
serialNumber: string;
|
serialNumber: string;
|
||||||
caller: string;
|
caller: string;
|
||||||
profile: string;
|
profile: string;
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export class DespachoPage implements OnInit {
|
|||||||
serialnumber: string;
|
serialnumber: string;
|
||||||
caller: string;
|
caller: string;
|
||||||
profile: string;
|
profile: string;
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
|
|
||||||
constructor(private activateRoute: ActivatedRoute,
|
constructor(private activateRoute: ActivatedRoute,
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
profile: string;
|
profile: string;
|
||||||
task: any
|
task: any
|
||||||
fulltask: any
|
fulltask: any
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
attachments:any;
|
attachments:any;
|
||||||
customDate: any;
|
customDate: any;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export class DiplomasGerarPage implements OnInit {
|
|||||||
profile: string;
|
profile: string;
|
||||||
task: any
|
task: any
|
||||||
fulltask: any
|
fulltask: any
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
attachments:any;
|
attachments:any;
|
||||||
customDate: any;
|
customDate: any;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export class DiplomaPage implements OnInit {
|
|||||||
profile: string;
|
profile: string;
|
||||||
task: any
|
task: any
|
||||||
fulltask: any
|
fulltask: any
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
attachments: any;
|
attachments: any;
|
||||||
customDate: any
|
customDate: any
|
||||||
|
|||||||
+1
-1
@@ -53,7 +53,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
serialNumber: string;
|
serialNumber: string;
|
||||||
caller: string;
|
caller: string;
|
||||||
profile: string;
|
profile: string;
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
documents: SearchList[] = [];
|
documents: SearchList[] = [];
|
||||||
attachments: any;
|
attachments: any;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export class ExpedientePrPage implements OnInit {
|
|||||||
serialnumber: string;
|
serialnumber: string;
|
||||||
caller:string;
|
caller:string;
|
||||||
profile: string;
|
profile: string;
|
||||||
intervenientes: any;
|
intervenientes: any = [];
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
|
|
||||||
loggeduser: LoginUserRespose;
|
loggeduser: LoginUserRespose;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export class PedidoPage implements OnInit {
|
|||||||
eventsList: Event[];
|
eventsList: Event[];
|
||||||
serialnumber: string;
|
serialnumber: string;
|
||||||
caller: string;
|
caller: string;
|
||||||
intervenientes: any;
|
intervenientes: any = []
|
||||||
cc: any = [];
|
cc: any = [];
|
||||||
loggeduser: LoginUserRespose;
|
loggeduser: LoginUserRespose;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user