Finish up embed modal feature (#4759)
* Add embed button to dropdowns of in-timeline statuses * yarn run manage:translations
This commit is contained in:
@ -82,6 +82,10 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||
}
|
||||
},
|
||||
|
||||
onEmbed (status) {
|
||||
dispatch(openModal('EMBED', { url: status.get('url') }));
|
||||
},
|
||||
|
||||
onDelete (status) {
|
||||
if (!this.deleteModal) {
|
||||
dispatch(deleteStatus(status.get('id')));
|
||||
|
Reference in New Issue
Block a user