diff --git a/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.ts b/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.ts index f9d181bf0..76de61c05 100644 --- a/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.ts +++ b/apps/red-ui/src/app/screens/admin/dictionary-overview-screen/dictionary-overview-screen.component.ts @@ -60,6 +60,10 @@ export class DictionaryOverviewScreenComponent extends ComponentHasChanges { this._initialize(); } + private setHeight() { + this.editorComponent.style = { height: '500px' }; + } + private _initialize() { if (this.dictionary.type) this._dictionaryControllerService.getDictionaryForType(this.dictionary.type, this.dictionary.ruleSetId).subscribe( @@ -129,6 +133,7 @@ export class DictionaryOverviewScreenComponent extends ComponentHasChanges { .filter((entry) => !!entry); } + @debounce(500) textChanged($event: any) { this._applySearchMarkers(); this.currentDictionaryEntries = $event.split('\n');