eslint: Fix @typescript-eslint/prefer-nullish-coalescing.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-04-19 15:50:38 -07:00
committed by Tim Abbott
parent b280843e51
commit 60d49ae4a6
11 changed files with 23 additions and 23 deletions

View File

@@ -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,