mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
fixes #105
This commit is contained in:
parent
eede5595e9
commit
56acd4f320
1 changed files with 6 additions and 2 deletions
|
|
@ -29,8 +29,12 @@ export class SavedViewWidgetComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
showAll() {
|
showAll() {
|
||||||
this.list.load(this.savedView)
|
if (this.savedView.showInSideBar) {
|
||||||
this.router.navigate(["documents"])
|
this.router.navigate(['view', this.savedView.id])
|
||||||
|
} else {
|
||||||
|
this.list.load(this.savedView)
|
||||||
|
this.router.navigate(["documents"])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue