Fix missing initial load of discussion languages. (#793)

This commit is contained in:
Dessalines 2022-09-22 13:15:59 -04:00 committed by GitHub
parent c5f84649dd
commit 67c83ece5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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,