Skip to content
Snippets Groups Projects
Verified Commit ec26be5c authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #14522 TIME 0:05 fix error message "document out of perimeter" when panel...

FIX #14522 TIME 0:05 fix error message "document out of perimeter" when panel diffusion list is open
parent f6e40c22
No related branches found
No related tags found
No related merge requests found
......@@ -71,13 +71,11 @@ export class VisaWorkflowComponent implements OnInit {
this.route.params.subscribe(params => {
this.loading = true;
if (params['resId'] !== undefined && params['resId'] !== null) {
this.resId = params['resId'];
}
this.resId = params['resId'];
if (this.resId !== undefined && this.resId !== null) {
if (!this.functions.empty(this.resId)) {
this.loadedInConstructor = true;
this.loadWorkflow(params['resId']);
this.loadWorkflow(this.resId);
} else {
this.loadedInConstructor = false;
}
......@@ -88,7 +86,7 @@ export class VisaWorkflowComponent implements OnInit {
}
ngOnInit(): void {
if (this.resId !== null && !this.loadedInConstructor) {
if (!this.functions.empty(this.resId) && !this.loadedInConstructor) {
//this.initFilterVisaModelList();
this.loadWorkflow(this.resId);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment