mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
eslint: Fix @typescript-eslint/prefer-nullish-coalescing.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b280843e51
commit
60d49ae4a6
@@ -121,7 +121,7 @@ export function launch(conf: WidgetConfig): void {
|
||||
// * loading_spinner: Whether to show a loading spinner inside the
|
||||
// submit button when clicked.
|
||||
|
||||
const html_submit_button = conf.html_submit_button || $t_html({defaultMessage: "Save changes"});
|
||||
const html_submit_button = conf.html_submit_button ?? $t_html({defaultMessage: "Save changes"});
|
||||
const html = render_dialog_widget({
|
||||
heading_text: conf.html_heading,
|
||||
link: conf.help_link,
|
||||
|
||||
Reference in New Issue
Block a user