Browse Source

UI: Add button create new

pull/9387/head
Artem Dzhereleiko 3 years ago
parent
commit
fa1aae31dc
  1. 5
      ui-ngx/src/app/modules/home/components/profile/tenant-profile-autocomplete.component.html

5
ui-ngx/src/app/modules/home/components/profile/tenant-profile-autocomplete.component.html

@ -43,6 +43,11 @@
(click)="editTenantProfile($event)">
<mat-icon class="material-icons">edit</mat-icon>
</button>
<button mat-button color="primary" matSuffix
(click)="createTenantProfile($event, '')"
*ngIf="!selectTenantProfileFormGroup.get('tenantProfile').value && !disabled">
<span style="white-space: nowrap">{{ 'notification.create-new' | translate }}</span>
</button>
<mat-autocomplete
class="tb-autocomplete"
#tenantProfileAutocomplete="matAutocomplete"

Loading…
Cancel
Save