Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_popover: Remove useless old_topic_name check.
Tim Abbott3099487bc315
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.jsindex e02eeb067c7..7ded9be5666 100644--- a/static/js/stream_popover.js+++ b/static/js/stream_popover.js@@ -504,16 +504,14 @@ export function build_move_topic_to_stream_popover(current_stream_id, topic_namecurrent_stream_id,old_topic_name,(message_id) => {- if (old_topic_name) {- message_edit.move_topic_containing_message_to_stream(- message_id,- select_stream_id,- new_topic_name,- send_notification_to_new_thread,- send_notification_to_old_thread,- propagate_mode,- );- }+ message_edit.move_topic_containing_message_to_stream(+ message_id,+ select_stream_id,+ new_topic_name,+ send_notification_to_new_thread,+ send_notification_to_old_thread,+ propagate_mode,+ );},(xhr) => {dialog_widget.hide_dialog_spinner();