Update document-list.component.spec.ts
This commit is contained in:
parent
df46f53e38
commit
19d25a5342
@ -423,6 +423,8 @@ describe('DocumentListComponent', () => {
|
||||
value: '20',
|
||||
},
|
||||
],
|
||||
display_mode: DisplayMode.SMALL_CARDS,
|
||||
display_fields: [DisplayField.TITLE],
|
||||
}
|
||||
jest.spyOn(savedViewService, 'getCached').mockReturnValue(of(view))
|
||||
const queryParams = { view: view.id.toString() }
|
||||
|
@ -227,6 +227,8 @@ export class DocumentListComponent
|
||||
filter_rules: this.list.filterRules,
|
||||
sort_field: this.list.sortField,
|
||||
sort_reverse: this.list.sortReverse,
|
||||
display_mode: this.list.displayMode,
|
||||
display_fields: this.activeDisplayFields,
|
||||
}
|
||||
this.savedViewService
|
||||
.patch(savedView)
|
||||
|
Loading…
x
Reference in New Issue
Block a user