From 499a6dbe7f1c69ae16177e1c40985bbcbc325a91 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Tue, 31 Aug 2021 18:57:07 +0300 Subject: [PATCH] UI: Refactoring attributes-table component, add changeDetection for load widget bundle --- .../attribute/attribute-table.component.html | 8 ++++---- .../attribute/attribute-table.component.ts | 20 ++++++++++++------- .../widgets-bundle-select.component.ts | 1 + 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html index 769c8a08af..ead92fda03 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html +++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html @@ -112,8 +112,8 @@ fxFlex [selectFirstBundle]="false" [selectBundleAlias]="selectedWidgetsBundleAlias" - [(ngModel)]="widgetsBundle" - (ngModelChange)="onWidgetsBundleChanged()"> + [ngModel]="null" + (ngModelChange)="onWidgetsBundleChanged($event)">