[Glitch] Implement adding a user to a list from their profile
Port bb5558de62
to glitch-soc
This commit is contained in:
@ -120,6 +120,12 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||
dispatch(unblockDomain(domain));
|
||||
},
|
||||
|
||||
onAddToList(account){
|
||||
dispatch(openModal('LIST_ADDER', {
|
||||
accountId: account.get('id'),
|
||||
}));
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Header));
|
||||
|
Reference in New Issue
Block a user