mirror of https://github.com/zulip/zulip.git
stream_popover: Specify topic when opening compose.
This fixes a bug I introduced when merging
86eccfd20f
, by not using the "new topic
button" trigger.
It would probably be wise to replace that "trigger" system with just
passing actual options, as it's pretty confusing.
This commit is contained in:
parent
86eccfd20f
commit
46c72fd17d
|
@ -477,7 +477,11 @@ export function register_stream_handlers() {
|
|||
const sub = stream_popover_sub(e);
|
||||
hide_stream_popover();
|
||||
|
||||
compose_actions.start("stream", {trigger: "popover new topic button", stream: sub.name});
|
||||
compose_actions.start("stream", {
|
||||
trigger: "popover new topic button",
|
||||
stream: sub.name,
|
||||
topic: "",
|
||||
});
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue