UI: Fixed entity table header components disabled create new device/asset profile

This commit is contained in:
Vladyslav_Prykhodko 2024-06-13 12:13:29 +03:00
parent f9c554e96f
commit 069a76b726
3 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,8 @@
formControlName="deviceProfileId"
[displayAllOnEmpty]="true"
(deviceProfileChanged)="deviceProfileChanged($event)"
[editProfileEnabled]="false">
[editProfileEnabled]="false"
[addNewProfile]="false">
</tb-device-profile-autocomplete>
<mat-form-field>
<mat-label translate>device.device-state</mat-label>

View File

@ -60,7 +60,6 @@
<tb-device-profile-autocomplete
required
addNewProfile
showCreateNewButton
selectDefaultProfile
formControlName="deviceProfileId"
(deviceProfileChanged)="deviceProfileChanged($event)">

View File

@ -19,6 +19,7 @@
subscriptSizing="dynamic"
[ngModel]="entitiesTableConfig.componentsData.assetProfileId"
(ngModelChange)="assetProfileChanged($event)"
[addNewProfile]="false"
[displayAllOnEmpty]="true"
[editProfileEnabled]="false">
</tb-asset-profile-autocomplete>