mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
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:
@@ -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: [],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user