mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Fix frontend with empty display_fields
This commit is contained in:
parent
822c2d2d56
commit
becc5aba94
@ -145,7 +145,10 @@ export class SavedViewWidgetComponent
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.savedView.display_fields) {
|
if (
|
||||||
|
this.savedView.display_fields &&
|
||||||
|
this.savedView.display_fields.length > 0
|
||||||
|
) {
|
||||||
this.displayFields = this.savedView.display_fields
|
this.displayFields = this.savedView.display_fields
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user