Login form with Tenant dropdown menu
This commit is contained in:
@@ -100,12 +100,12 @@ export class CreateClientComponent {
|
||||
|
||||
setDatatables(): void {
|
||||
this.datatables = [];
|
||||
let legalFormTypeVal = 'Person';
|
||||
let legalFormTypeVal = 'person';
|
||||
if (this.legalFormType === 2) {
|
||||
legalFormTypeVal = 'Entity';
|
||||
legalFormTypeVal = 'entity';
|
||||
}
|
||||
this.clientTemplate.datatables.forEach((datatable: any) => {
|
||||
if (datatable.entitySubType === legalFormTypeVal) {
|
||||
if (datatable.entitySubType.toLowerCase() === legalFormTypeVal) {
|
||||
this.datatables.push(datatable);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user