0
0
Fork 0

Fix #6157: boosting own private toots (#7200)

* Fix boosting own private toots.

* Run yarn manage:translations and update Japanese translations.
This commit is contained in:
mayaeh 2018-04-20 21:58:33 +09:00 committed by Eugen Rochko
parent 4e35ce8269
commit ee2e0f694a
5 changed files with 13 additions and 7 deletions

View file

@ -63,7 +63,7 @@ class DropdownMenu extends React.PureComponent {
if (typeof action === 'function') {
e.preventDefault();
action();
action(e);
} else if (to) {
e.preventDefault();
this.context.router.history.push(to);