mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
bugfix
This commit is contained in:
parent
9a4d410f66
commit
ceaade29a6
1 changed files with 1 additions and 1 deletions
|
|
@ -49,13 +49,13 @@ export class DocumentListComponent implements OnInit {
|
|||
this.displayMode = localStorage.getItem('document-list:displayMode')
|
||||
}
|
||||
this.route.paramMap.subscribe(params => {
|
||||
this.filterRules = this.list.filterRules
|
||||
if (params.has('id')) {
|
||||
this.list.savedView = this.savedViewConfigService.getConfig(params.get('id'))
|
||||
} else {
|
||||
this.list.savedView = null
|
||||
this.showFilter = this.filterRules.length > 0
|
||||
}
|
||||
this.filterRules = this.list.filterRules
|
||||
this.list.clear()
|
||||
this.list.reload()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue