From: Dessalines Date: Thu, 22 Sep 2022 17:15:59 +0000 (-0400) Subject: Fix missing initial load of discussion languages. (#793) X-Git-Url: http://these/git/readmes/%7B%60%24%7BarchiveTodayUrl%7D/static/%7Burl%7D?a=commitdiff_plain;h=67c83ece5b7a0cc2b7a61954254ebde3494a37d1;p=lemmy-ui.git Fix missing initial load of discussion languages. (#793) --- diff --git a/src/shared/components/person/settings.tsx b/src/shared/components/person/settings.tsx index e6d8896..06e460b 100644 --- a/src/shared/components/person/settings.tsx +++ b/src/shared/components/person/settings.tsx @@ -168,6 +168,7 @@ export class Settings extends Component { 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,