Skip to content

Commit f0167e6

Browse files
committed
fix(ENG-11346): use nullish coalescing operator
1 parent 95830e5 commit f0167e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/app/shared/components/search-filters/search-filters.component.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class SearchFiltersComponent {
129129
}
130130

131131
getPlaceholderKey(filter: DiscoverableFilter): string {
132-
return FILTER_PLACEHOLDERS[filter.key] || 'common.search.filterPlaceholders.generic';
132+
return FILTER_PLACEHOLDERS[filter.key] ?? 'common.search.filterPlaceholders.generic';
133133
}
134134

135135
private scrollPanelIntoView(key: string) {

0 commit comments

Comments
 (0)