frontend: Remove html_submit_button paramter passed to dialog_widget.

We used html_submit_button to pass text to be present in the modal
submit button. There are only two possible options as of now -
"Confirm" and "Save changes" and the correct one can be determined
using is_confirm_modal parameter. So, we remove this paramter for
now and we can add it later if we have more type of modals using
this widget.
This commit is contained in:
sahil839
2021-07-07 23:05:50 +05:30
committed by Tim Abbott
parent ec3c5547ff
commit dff374a48b
16 changed files with 12 additions and 23 deletions

View File

@@ -441,7 +441,6 @@ export function set_up_handlers() {
parent: modal_parent,
html_heading: $t_html({defaultMessage: "Large number of subscribers"}),
html_body,
html_submit_button: $t_html({defaultMessage: "Confirm"}),
on_click: () => {
create_stream();
},