common-ui/src/lib/tenants/tenant-resolve/tenant-resolve.component.html
2023-03-31 12:30:39 +03:00

26 lines
1.0 KiB
HTML

<div class="tenant-section" *ngIf="!(loadingService.isLoading$ | async)">
<form (submit)="updateTenantSelection()" [formGroup]="form">
<div class="heading-l" translate="tenant-resolve.header"></div>
<div class="iqser-input-group required w-400">
<mat-form-field>
<mat-select
[placeholder]="'tenant-resolve.form.tenant-placeholder' | translate"
class="full-width"
formControlName="tenantId"
>
<mat-option *ngFor="let option of _tenantContext.tenantData$ | async" [value]="option.tenantId">
{{ option.displayName || option.tenantId }}
</mat-option>
</mat-select>
</mat-form-field>
</div>
<iqser-icon-button
[label]="'tenant-resolve.actions.save' | translate"
[submit]="true"
[type]="iconButtonTypes.primary"
></iqser-icon-button>
</form>
</div>