Browse Source

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

pull/10999/head
Vladyslav_Prykhodko 2 years ago
parent
commit
069a76b726
  1. 3
      ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html
  2. 1
      ui-ngx/src/app/modules/home/components/wizard/device-wizard-dialog.component.html
  3. 1
      ui-ngx/src/app/modules/home/pages/asset/asset-table-header.component.html

3
ui-ngx/src/app/modules/home/components/device/device-info-filter.component.html

@ -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>

1
ui-ngx/src/app/modules/home/components/wizard/device-wizard-dialog.component.html

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

1
ui-ngx/src/app/modules/home/pages/asset/asset-table-header.component.html

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

Loading…
Cancel
Save