fix(locale): default user locale should be the server setting (#1574)

* fix(locale): default user locale should be the server setting

* fix(db): fix user settings migration

* fix(db): set default locale to empty string

* revert: revert change to usersettings.ts
This commit is contained in:
TheCatLady
2021-05-05 00:33:43 -04:00
committed by GitHub
parent e2acf8887c
commit 549103f6f6
4 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ export class UserSettings {
@JoinColumn()
public user: User;
@Column({ default: 'en' })
@Column({ default: '' })
public locale?: string;
@Column({ nullable: true })