Browse Source

Merge pull request #7471 from ArtemDzhereleiko/AD/bug-fix/event-filter

[3.4.2] UI: Fixed height and console error for Event filter panel
pull/7522/head
Andrew Shvayka 4 years ago
committed by GitHub
parent
commit
b8b7cbb8cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts
  2. 2
      ui-ngx/src/app/modules/home/components/event/event-table-config.ts

2
ui-ngx/src/app/modules/home/components/event/event-filter-panel.component.ts

@ -108,7 +108,7 @@ export class EventFilterPanelComponent {
changeIsError(value: boolean | string) {
if (this.conditionError && value === '') {
this.eventFilterFormGroup.get('error').reset('', {emitEvent: false});
this.eventFilterFormGroup.get('errorStr').reset('', {emitEvent: false});
}
}
}

2
ui-ngx/src/app/modules/home/components/event/event-table-config.ts

@ -440,6 +440,8 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
};
config.positionStrategy = this.overlay.position().flexibleConnectedTo(target as HTMLElement)
.withPositions([connectedPosition]);
config.maxHeight = '70vh';
config.height = 'min-content';
const overlayRef = this.overlay.create(config);
overlayRef.backdropClick().subscribe(() => {

Loading…
Cancel
Save