mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-03 13:35:37 +00:00
current view persists during session, code cleanup
This commit is contained in:
1 parent
8b36bc7801
commit
d3b1a20a99
8 files changed
+99
-66
No files matched your search
@@ -10,10 +10,10 @@ export interface SavedViewConfig {
|
||||
|
||||
sortDirection: string
|
||||
|
||||
title: string
|
||||
title?: string
|
||||
|
||||
showInSideBar: boolean
|
||||
showInSideBar?: boolean
|
||||
|
||||
showInDashboard: boolean
|
||||
showInDashboard?: boolean
|
||||
|
||||
}
|
||||
@@ -2,6 +2,10 @@ export const OPEN_DOCUMENT_SERVICE = {
|
||||
DOCUMENTS: 'open-documents-service:openDocuments'
|
||||
}
|
||||
|
||||
export const DOCUMENT_LIST_SERVICE = {
|
||||
CURRENT_VIEW_CONFIG: 'document-list-service:currentViewConfig'
|
||||
}
|
||||
|
||||
export const GENERAL_SETTINGS = {
|
||||
DOCUMENT_LIST_SIZE: 'general-settings:documentListSize',
|
||||
DOCUMENT_LIST_SIZE_DEFAULT: 50
|
||||
|
||||
Reference in new issue
Block a user