Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_view_ui: Update if all msgs in topic were deleted.
Aman Agrawalef49c29ddf41
diff --git a/web/src/recent_view_ui.ts b/web/src/recent_view_ui.tsindex 41522ade64c..605ebb6576f 100644--- a/web/src/recent_view_ui.ts+++ b/web/src/recent_view_ui.ts@@ -806,7 +806,12 @@ export function update_topics_of_deleted_message_ids(message_ids: number[]): voiconst msgs = message_util.get_messages_in_topic(stream_id, topic);msgs_to_process.push(...msgs);}- process_messages(msgs_to_process);++ if (msgs_to_process.length > 0) {+ process_messages(msgs_to_process);+ } else {+ complete_rerender();+ }}export function filters_should_hide_row(topic_data: ConversationData): boolean {