mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
beautify search fail error
This commit is contained in:
parent
e5a5b5cd08
commit
71e0780eee
@ -1018,7 +1018,7 @@ module.exports = React.createClass({
|
|||||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
Modal.createDialog(ErrorDialog, {
|
Modal.createDialog(ErrorDialog, {
|
||||||
title: "Search failed",
|
title: "Search failed",
|
||||||
description: error.toString()
|
description: "Server may be unavailable, overloaded, or search timed out :("
|
||||||
});
|
});
|
||||||
}).finally(function() {
|
}).finally(function() {
|
||||||
self.setState({
|
self.setState({
|
||||||
|
Loading…
Reference in New Issue
Block a user