Skip to content
Snippets Groups Projects
Commit 45a9a4f5 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #21609 TIME 0:02 fix function + hiddenParameters

parent bd3fac6a
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ export class ParametersAdministrationComponent implements OnInit { ...@@ -24,7 +24,7 @@ export class ParametersAdministrationComponent implements OnInit {
filterColumns = ['id', 'description', 'value']; filterColumns = ['id', 'description', 'value'];
hiddenParameters = ['homepage_message', 'loginpage_message', 'traffic_record_summary_sheet', 'bindingDocumentFinalAction', hiddenParameters = ['homepage_message', 'loginpage_message', 'traffic_record_summary_sheet', 'bindingDocumentFinalAction',
'nonBindingDocumentFinalAction', 'workflowSignatoryRole', 'workflowEndBySignatory']; 'nonBindingDocumentFinalAction', 'workflowSignatoryRole', 'minimumVisaRole', 'maximumSignRole'];
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator; @ViewChild(MatPaginator, { static: false }) paginator: MatPaginator;
@ViewChild(MatSort, { static: false }) sort: MatSort; @ViewChild(MatSort, { static: false }) sort: MatSort;
......
...@@ -81,7 +81,6 @@ export class VisaWorkflowComponent implements OnInit { ...@@ -81,7 +81,6 @@ export class VisaWorkflowComponent implements OnInit {
if (!this.functions.empty(this.resId)) { if (!this.functions.empty(this.resId)) {
this.loadedInConstructor = true; this.loadedInConstructor = true;
this.loadWorkflow(this.resId); this.loadWorkflow(this.resId);
this.checkWorkflowSignatoryRole();
} else { } else {
this.loadedInConstructor = false; this.loadedInConstructor = false;
} }
...@@ -92,6 +91,7 @@ export class VisaWorkflowComponent implements OnInit { ...@@ -92,6 +91,7 @@ export class VisaWorkflowComponent implements OnInit {
} }
ngOnInit(): void { ngOnInit(): void {
this.checkWorkflowSignatoryRole();
if (!this.functions.empty(this.resId) && !this.loadedInConstructor) { if (!this.functions.empty(this.resId) && !this.loadedInConstructor) {
// this.initFilterVisaModelList(); // this.initFilterVisaModelList();
this.loadWorkflow(this.resId); this.loadWorkflow(this.resId);
......
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