[Glitch] Show compose form on delete & redraft when in mobile layout

Port 025fbb8285 to glitch-soc
This commit is contained in:
Thibaut Girka authored and ThibG committed 2018-08-31 18:33:46 +02:00
1 parent 0f1db47a7e
commit 130bdb5ee8
5 files changed
+15 -11

No files matched your search

@@ -102,11 +102,11 @@ export default class StatusActionBar extends ImmutablePureComponent {
}
handleDeleteClick = () => {
this.props.onDelete(this.props.status);
this.props.onDelete(this.props.status, this.context.router.history);
}
handleRedraftClick = () => {
this.props.onDelete(this.props.status, true);
this.props.onDelete(this.props.status, this.context.router.history, true);
}
handlePinClick = () => {