0
0
Fork 0

Finish up embed modal feature (#4759)

* Add embed button to dropdowns of in-timeline statuses

* yarn run manage:translations
This commit is contained in:
Eugen Rochko 2017-09-01 21:30:13 +02:00 committed by GitHub
parent 390bfec6da
commit 9c04fadec9
35 changed files with 130 additions and 0 deletions

View file

@ -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')));