fixes a one time issue when migrating to the new version.

This commit is contained in:
jonaswinkler 2020-12-16 16:19:12 +01:00
parent 6b60501dc7
commit dec17a3b9b

View File

@ -201,7 +201,7 @@ export class DocumentListViewService {
this.documentListView = null
}
}
if (!this.documentListView) {
if (!this.documentListView || !this.documentListView.filter_rules || !this.documentListView.sort_reverse || !this.documentListView.sort_field) {
this.documentListView = {
filter_rules: [],
sort_reverse: true,