refactored most of the list view; fixes #147, much snappier UX when switching between views

This commit is contained in:
jonaswinkler committed 2021-02-18 17:29:21 +01:00
1 parent 0e237fa459
commit 0f80eee54e
6 files changed
+163 -125

No files matched your search

@@ -191,8 +191,8 @@ export class DocumentDetailComponent implements OnInit {
close() {
this.openDocumentService.closeDocument(this.document)
if (this.documentListViewService.savedViewId) {
this.router.navigate(['view', this.documentListViewService.savedViewId])
if (this.documentListViewService.activeSavedViewId) {
this.router.navigate(['view', this.documentListViewService.activeSavedViewId])
} else {
this.router.navigate(['documents'])
}