We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e613ad7 commit 77b7811Copy full SHA for 77b7811
web-app/src/app/services/feeds/utils.ts
@@ -50,9 +50,9 @@ export type AllDatasetType =
50
| undefined;
51
52
export function getLocationName(
53
- locations: EntityLocations | undefined,
+ locations: EntityLocations | undefined | null,
54
): string {
55
- if (locations === undefined) {
+ if (locations === undefined || locations === null) {
56
return '';
57
}
58
let displayLocation = '';
0 commit comments