UI: Fixed height and console error

This commit is contained in:
Artem Dzhereleiko 2022-10-21 12:21:38 +03:00
parent 6445fec439
commit edbfcb79f2
2 changed files with 3 additions and 1 deletions

View File

@ -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});
}
}
}

View File

@ -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(() => {