mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 10:36:58 +01:00
Fix: saved views do not return to default display fields after setting and then removing (#9168)
This commit is contained in:
parent
822c2d2d56
commit
3bf64ae7da
6 changed files with 88 additions and 12 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue