mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-24 00:59:35 -06:00
Unify these
This commit is contained in:
@@ -524,13 +524,10 @@ export class DocumentListComponent
|
||||
sidebarViewIds.push(createdView.id)
|
||||
}
|
||||
|
||||
this.settingsService.set(SETTINGS_KEYS.DASHBOARD_VIEWS_VISIBLE_IDS, [
|
||||
...new Set(dashboardViewIds),
|
||||
])
|
||||
this.settingsService.set(SETTINGS_KEYS.SIDEBAR_VIEWS_VISIBLE_IDS, [
|
||||
...new Set(sidebarViewIds),
|
||||
])
|
||||
return this.settingsService.storeSettings()
|
||||
return this.settingsService.updateSavedViewsVisibility(
|
||||
dashboardViewIds,
|
||||
sidebarViewIds
|
||||
)
|
||||
}
|
||||
|
||||
openDocumentDetail(document: Document | number) {
|
||||
|
||||
Reference in New Issue
Block a user