Commit 15a6b2655e34e135479926b7a1c1eba4c84254d9

Authored by ArtemDzhereleiko
1 parent 75817a16

Fixed attribute tables pagination on switch between attributes scope

... ... @@ -198,6 +198,7 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI
198 198 attributeScopeChanged(attributeScope: TelemetryType) {
199 199 this.attributeScope = attributeScope;
200 200 this.mode = 'default';
  201 + this.paginator.pageIndex = 0;
201 202 this.updateData(true);
202 203 }
203 204
... ... @@ -447,7 +448,7 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI
447 448 if (this.mode === 'widget') {
448 449 this.widgetsList = [];
449 450 this.widgetsListCache = [];
450   - this.widgetsCarouselIndex = 0;
  451 + this.widgetsCarouselIndex = 0;
451 452 if (widgetsBundle) {
452 453 this.widgetsLoaded = false;
453 454 const bundleAlias = widgetsBundle.alias;
... ...