Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

narrow: Include time for recent_topics related actions in narrow_time.

YashRE425360c7d3e8a7
diff --git a/static/js/narrow.js b/static/js/narrow.js
index ae43ac7346a..4601bc6eda4 100644
--- a/static/js/narrow.js
+++ b/static/js/narrow.js
@@ -187,11 +187,12 @@ export function activate(raw_operators, opts) {
or rerendering due to server-side changes.
*/
+ const start_time = new Date();
+
if (recent_topics_util.is_visible()) {
recent_topics_ui.hide();
}
- const start_time = new Date();
const was_narrowed_already = narrow_state.active();
// most users aren't going to send a bunch of a out-of-narrow messages
// and expect to visit a list of narrows, so let's get these out of the way.