Skip to content

Commit

Permalink
Fix for missing image icons
Browse files Browse the repository at this point in the history
Only behavior was spammed errors to the console.
  • Loading branch information
gingi committed Jul 1, 2022
1 parent 54c1acd commit 6da174c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/utils/pool-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class PoolUtils {
}

public static iconForOffer(offerName: string) {
const icon = iconMapping[offerName.toLowerCase()];
const icon = iconMapping[offerName?.toLowerCase()];
if (icon) {
return icon;
}
Expand Down

0 comments on commit 6da174c

Please sign in to comment.