Updated to work with new unified search interface

This commit is contained in:
Michael Shamoon
2021-04-05 16:35:15 -07:00
parent 8226a8793e
commit 3d0891c73b
2 changed files with 9 additions and 11 deletions

View File

@@ -290,9 +290,12 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
distinctUntilChanged()
).subscribe(text => {
this._textFilter = text
this.documentService.setSearchQuery(text)
this.documentService.searchQuery = text
this.updateRules()
})
if (this._textFilter) this.documentService.searchQuery = this._textFilter
}
ngOnDestroy() {