diff --git a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html index 452045d164..0a1fd59275 100644 --- a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html @@ -32,7 +32,7 @@ filter.filter - {{ control.get('filter').value }} + {{ control.get('filter').value }} diff --git a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.ts b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.ts index 24e375c9c7..05240fdf4d 100644 --- a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.ts @@ -14,7 +14,7 @@ /// limitations under the License. /// -import { Component, Inject, SkipSelf } from '@angular/core'; +import { Component, Inject, SkipSelf, ViewChild } from '@angular/core'; import { ErrorStateMatcher } from '@angular/material/core'; import { MAT_DIALOG_DATA, MatDialog, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; @@ -40,6 +40,7 @@ import { deepClone, isUndefined } from '@core/utils'; import { ComplexOperation, Filter, Filters, KeyFilterInfo } from '@shared/models/query/query.models'; import { FilterDialogComponent, FilterDialogData } from '@home/components/filter/filter-dialog.component'; import { DashboardUtilsService } from '@core/services/dashboard-utils.service'; +import { MatTable } from '@angular/material/table'; export interface FiltersDialogData { filters: Filters; @@ -61,6 +62,8 @@ export interface FiltersDialogData { export class FiltersDialogComponent extends DialogComponent implements ErrorStateMatcher { + @ViewChild(MatTable) table: MatTable; + title: string; disableAdd: boolean; @@ -168,6 +171,7 @@ export class FiltersDialogComponent extends DialogComponent