mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
stream_edit: Pass string instead of function as html_body.
It seems like this was working fine, thanks to some internal workings of Handlebars, but when we convert this file to typescript, it will want a string for `html_body`.
This commit is contained in:
@@ -703,7 +703,7 @@ export function initialize() {
|
||||
}
|
||||
dialog_widget.launch({
|
||||
html_heading: $t_html({defaultMessage: "Confirm changing access permissions"}),
|
||||
html_body: render_confirm_stream_privacy_change_modal,
|
||||
html_body: render_confirm_stream_privacy_change_modal(),
|
||||
id: "confirm_stream_privacy_change",
|
||||
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
||||
on_click() {
|
||||
|
||||
Reference in New Issue
Block a user