mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
clarify why we dont need dialog on network error
This commit is contained in:
parent
a11deffe5e
commit
629b776820
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ module.exports = React.createClass({
|
|||
} catch (e) {
|
||||
const code = e.errcode || e.statusCode;
|
||||
// only show the dialog if failing for something other than a network error
|
||||
// (e.g. no errcode or statusCode)
|
||||
// (e.g. no errcode or statusCode) as that case the redaction end up in the
|
||||
// detached queue and we show the room status bar to allow retry
|
||||
if (typeof code !== "undefined") {
|
||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
// display error message stating you couldn't delete this.
|
||||
|
|
Loading…
Reference in a new issue