Skip to content

Commit

Permalink
fix: 🐛 check if there is fossil
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix committed Apr 21, 2024
1 parent 91d9494 commit 53a2648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nonFossil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const nonFossilElement = (
? html`
<svg width="80" height="30">
<path d="M40 -10 v40" class="low-carbon ${styleLine(nonFossil.state.power || 0, config)}" id="low-carbon" />
${checkShouldShowDots(config) && nonFossil.has
${checkShouldShowDots(config) && nonFossil.has && nonFossil.state.power > 0
? svg`<circle
r="1.75"
class="low-carbon"
Expand Down

0 comments on commit 53a2648

Please sign in to comment.