Finish up embed modal feature (#4759)
* Add embed button to dropdowns of in-timeline statuses * yarn run manage:translations
This commit is contained in:
parent
390bfec6da
commit
9c04fadec9
35 changed files with 130 additions and 0 deletions
|
@ -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')));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue