Show compose form on delete & redraft when in mobile layout (#8277)
Fix #8274
This commit is contained in:
parent
f13afa1ee9
commit
025fbb8285
5 changed files with 15 additions and 11 deletions
|
@ -96,11 +96,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 = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue