mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
improve locale selection options
This commit is contained in:
parent
aeb10d3407
commit
11f9616411
4 changed files with 13 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, OnInit, Renderer2 } from '@angular/core';
|
||||
import { Component, Inject, LOCALE_ID, OnInit, Renderer2 } from '@angular/core';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
import { PaperlessSavedView } from 'src/app/data/paperless-saved-view';
|
||||
import { DocumentListViewService } from 'src/app/services/document-list-view.service';
|
||||
|
|
@ -38,7 +38,8 @@ export class SettingsComponent implements OnInit {
|
|||
public savedViewService: SavedViewService,
|
||||
private documentListViewService: DocumentListViewService,
|
||||
private toastService: ToastService,
|
||||
private settings: SettingsService
|
||||
private settings: SettingsService,
|
||||
@Inject(LOCALE_ID) public currentLocale: string
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue