EventIndexPanel: Reword the crawler state if no room is being crawled.

pull/21833/head
Damir Jelić 2020-01-21 09:24:20 +01:00
parent 8de149704e
commit 4913d579e3
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ export default class EventIndexPanel extends React.Component {
if (!this.state.eventIndexingEnabled) { if (!this.state.eventIndexingEnabled) {
crawlerState = <div>{_t("Message search for encrypted rooms is disabled.")}</div>; crawlerState = <div>{_t("Message search for encrypted rooms is disabled.")}</div>;
} else if (this.state.currentRoom === null) { } else if (this.state.currentRoom === null) {
crawlerState = <div>{_t("Not currently downloading messages for any room.")}</div>; crawlerState = <div>{_t("Not downloading messages for any room.")}</div>;
} else { } else {
crawlerState = ( crawlerState = (
<div>{_t( <div>{_t(