UI: Fixed height and console error
This commit is contained in:
parent
6445fec439
commit
edbfcb79f2
@ -108,7 +108,7 @@ export class EventFilterPanelComponent {
|
|||||||
|
|
||||||
changeIsError(value: boolean | string) {
|
changeIsError(value: boolean | string) {
|
||||||
if (this.conditionError && value === '') {
|
if (this.conditionError && value === '') {
|
||||||
this.eventFilterFormGroup.get('error').reset('', {emitEvent: false});
|
this.eventFilterFormGroup.get('errorStr').reset('', {emitEvent: false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -440,6 +440,8 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
|||||||
};
|
};
|
||||||
config.positionStrategy = this.overlay.position().flexibleConnectedTo(target as HTMLElement)
|
config.positionStrategy = this.overlay.position().flexibleConnectedTo(target as HTMLElement)
|
||||||
.withPositions([connectedPosition]);
|
.withPositions([connectedPosition]);
|
||||||
|
config.maxHeight = '70vh';
|
||||||
|
config.height = 'min-content';
|
||||||
|
|
||||||
const overlayRef = this.overlay.create(config);
|
const overlayRef = this.overlay.create(config);
|
||||||
overlayRef.backdropClick().subscribe(() => {
|
overlayRef.backdropClick().subscribe(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user