mirror of https://github.com/zulip/zulip.git
ui: Hide loading indicators for non-existant narrows.
We were still displaying the loading spinner even after displaying the error text, which was confusing as we do not try to fetch again. This fixes it.
This commit is contained in:
parent
f900e521ef
commit
7562886cef
|
@ -248,6 +248,7 @@ exports.load_messages = function (opts) {
|
||||||
// retry or display a connection error.
|
// retry or display a connection error.
|
||||||
//
|
//
|
||||||
// FIXME: Warn the user when this has happened?
|
// FIXME: Warn the user when this has happened?
|
||||||
|
message_scroll.hide_indicators();
|
||||||
const data = {
|
const data = {
|
||||||
messages: [],
|
messages: [],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue