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

@@ -95,7 +95,7 @@ const UserGeneralSettings: React.FC = () => {
</div>
<Formik
initialValues={{
locale: data?.locale ?? 'en',
locale: data?.locale,
displayName: data?.username,
region: data?.region,
originalLanguage: data?.originalLanguage,