Skip to content

Commit 8812e36

Browse files
committed
refactor: . Use nullish coalescing operator
1 parent bc69b3d commit 8812e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/IncludesSettingsUI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class IncludesSettingsUI {
154154
inputEl.addClass('has-error');
155155

156156
// Optionally, you could add a title attribute to show the error message on hover
157-
inputEl.title = result.errorMessage || '';
157+
inputEl.title = result.errorMessage ?? '';
158158
} else {
159159
inputEl.removeClass('has-error');
160160
inputEl.title = '';

0 commit comments

Comments
 (0)