mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 12:36:53 +00:00
pull frontend lang setting from db if set
This commit is contained in:
1 parent
89c5aac9ed
commit
e0999c7ba4
2 files changed
+19
-8
No files matched your search
@@ -65,6 +65,9 @@ export class SettingsService {
|
||||
tap((uisettings) => {
|
||||
Object.assign(this.settings, uisettings.settings)
|
||||
this.maybeMigrateSettings()
|
||||
// to update lang cookie
|
||||
if (this.settings['language']?.length)
|
||||
this.setLanguage(this.settings['language'])
|
||||
this.displayName = uisettings.display_name.trim()
|
||||
})
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user