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:
evykassirer 2024-11-03 12:14:14 -08:00 committed by Tim Abbott
parent 686372e8a2
commit 287c7e8f05
1 changed files with 1 additions and 1 deletions

View File

@ -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() {