mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Also allow not_sent messages to be cancelled entirely.
This commit is contained in:
parent
1af1297afc
commit
39778330b5
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (eventStatus === "queued") {
|
||||
if (eventStatus === "queued" || eventStatus === "not_sent") {
|
||||
cancelButton = (
|
||||
<div className="mx_ContextualMenu_field" onClick={this.onCancelSendClick}>
|
||||
Cancel Sending
|
||||
|
|
Loading…
Reference in a new issue