Skip to content

Commit 2df1674

Browse files
committed
Fix for missing image icons
Only behavior was spammed errors to the console.
1 parent 73edc39 commit 2df1674

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/utils/pool-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class PoolUtils {
8888
}
8989

9090
public static iconForOffer(offerName: string) {
91-
const icon = iconMapping[offerName.toLowerCase()];
91+
const icon = iconMapping[offerName?.toLowerCase()];
9292
if (icon) {
9393
return icon;
9494
}

0 commit comments

Comments
 (0)