mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Pass saved_view owner as id only (#4158)
This commit is contained in:
parent
650c816a7b
commit
9a0e44a731
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
import { FilterRule } from './filter-rule'
|
||||
import { ObjectWithId } from './object-with-id'
|
||||
import { ObjectWithPermissions } from './object-with-permissions'
|
||||
|
||||
export interface PaperlessSavedView extends ObjectWithId {
|
||||
export interface PaperlessSavedView extends ObjectWithPermissions {
|
||||
name?: string
|
||||
|
||||
show_on_dashboard?: boolean
|
||||
|
@ -476,7 +476,6 @@ class SavedViewSerializer(OwnedObjectSerializer):
|
||||
|
||||
class Meta:
|
||||
model = SavedView
|
||||
depth = 1
|
||||
fields = [
|
||||
"id",
|
||||
"name",
|
||||
|
Loading…
x
Reference in New Issue
Block a user