Fix detect saved view is modified if display mode null and not small cards
This commit is contained in:
parent
19d25a5342
commit
9b53b589f8
@ -100,6 +100,9 @@ export class DocumentListComponent
|
||||
this.unmodifiedSavedView.page_size !== this.list.pageSize) ||
|
||||
(this.unmodifiedSavedView.display_mode &&
|
||||
this.unmodifiedSavedView.display_mode !== this.list.displayMode) ||
|
||||
// if the saved view has no display mode, we assume it's small cards
|
||||
(!this.unmodifiedSavedView.display_mode &&
|
||||
this.list.displayMode !== DisplayMode.SMALL_CARDS) ||
|
||||
(this.unmodifiedSavedView.display_fields &&
|
||||
this.unmodifiedSavedView.display_fields.join(',') !==
|
||||
this.activeDisplayFields.join(',')) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user