mirror of https://github.com/zulip/zulip.git
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:
parent
686372e8a2
commit
287c7e8f05
|
@ -703,7 +703,7 @@ export function initialize() {
|
||||||
}
|
}
|
||||||
dialog_widget.launch({
|
dialog_widget.launch({
|
||||||
html_heading: $t_html({defaultMessage: "Confirm changing access permissions"}),
|
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",
|
id: "confirm_stream_privacy_change",
|
||||||
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
html_submit_button: $t_html({defaultMessage: "Confirm"}),
|
||||||
on_click() {
|
on_click() {
|
||||||
|
|
Loading…
Reference in New Issue