mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fix unused method event parameter
This commit is contained in:
parent
edcb62476b
commit
9a18954686
@ -67,8 +67,8 @@ export class FilterEditorComponent implements OnInit, AfterViewInit {
|
|||||||
distinctUntilChanged(),
|
distinctUntilChanged(),
|
||||||
tap()
|
tap()
|
||||||
)
|
)
|
||||||
.subscribe(event => {
|
.subscribe((event: Event) => {
|
||||||
this.filterText = event.target.value
|
this.filterText = (event.target as HTMLInputElement).value
|
||||||
this.onTextFilterInput()
|
this.onTextFilterInput()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -83,7 +83,7 @@ export class FilterEditorComponent implements OnInit, AfterViewInit {
|
|||||||
else this.filterText = ''
|
else this.filterText = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
onTextFilterInput(event) {
|
onTextFilterInput() {
|
||||||
let text = this.filterText
|
let text = this.filterText
|
||||||
let filterRules = this.filterRules
|
let filterRules = this.filterRules
|
||||||
let existingRule = filterRules.find(rule => rule.type.id == FILTER_TITLE)
|
let existingRule = filterRules.find(rule => rule.type.id == FILTER_TITLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user