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 Apr 21, 2022
1 parent 73edc39 commit 2df1674
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 2df1674

Please sign in to comment.