fixed dictionary listing performance
This commit is contained in:
parent
e2ab99047e
commit
b7ba62f37f
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user