mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 08:31:18 +00:00
hide the filter when it's cleared.
This commit is contained in:
@@ -66,6 +66,11 @@ export class DocumentListComponent implements OnInit {
|
||||
this.list.filterRules = this.filterRules
|
||||
}
|
||||
|
||||
clearFilterRules() {
|
||||
this.list.filterRules = this.filterRules
|
||||
this.showFilter = false
|
||||
}
|
||||
|
||||
loadViewConfig(config: SavedViewConfig) {
|
||||
this.filterRules = cloneFilterRules(config.filterRules)
|
||||
this.list.load(config)
|
||||
|
||||
Reference in New Issue
Block a user