]> Untitled Git - lemmy-ui.git/commitdiff
Fix missing initial load of discussion languages. (#793)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 22 Sep 2022 17:15:59 +0000 (13:15 -0400)
committerGitHub <noreply@github.com>
Thu, 22 Sep 2022 17:15:59 +0000 (17:15 +0000)
src/shared/components/person/settings.tsx

index e6d8896f69ec3ec9d12fa7f238df6fd6d530e050..06e460b593bb9dedcec9b812e67891fcf907b01e 100644 (file)
@@ -168,6 +168,7 @@ export class Settings extends Component<any, SettingsState> {
           default_sort_type: Some(luv.local_user.default_sort_type),
           default_listing_type: Some(luv.local_user.default_listing_type),
           interface_language: Some(luv.local_user.interface_language),
+          discussion_languages: Some(mui.discussion_languages.map(l => l.id)),
           avatar: luv.person.avatar,
           banner: luv.person.banner,
           display_name: luv.person.display_name,