message_view_header: Include right tab in stream settings link.

Previously, the link opened on clicking the stream name in
header was "#streams/{stream_id}/{stream_name}". It is now
changed to "#streams/{stream_id}/{stream_name}/general" as
the stream edit UI is opened with "general" tab.
This commit is contained in:
Sahil Batra
2024-01-31 14:47:57 +05:30
committed by Tim Abbott
parent 61d481559f
commit 54bc960898

View File

@@ -54,7 +54,7 @@ function get_message_view_header_context(filter) {
context.sub_count = sub_count;
context.stream = current_stream;
context.stream_settings_link =
"#streams/" + current_stream.stream_id + "/" + current_stream.name;
"#streams/" + current_stream.stream_id + "/" + current_stream.name + "/general";
}
return context;
}