Add ability to filter followed accounts' posts by language (#19095)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2022-09-20 23:51:21 +02:00
1 parent 882e54c786
commit 50948b46aa
30 files changed
+298 -39

No files matched your search

@@ -121,12 +121,18 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
dispatch(unblockDomain(domain));
},
onAddToList(account){
onAddToList (account) {
dispatch(openModal('LIST_ADDER', {
accountId: account.get('id'),
}));
},
onChangeLanguages (account) {
dispatch(openModal('SUBSCRIBED_LANGUAGES', {
accountId: account.get('id'),
}));
},
});
export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Header));