Skip to content

Commit

Permalink
Merge pull request #60 from molikk/Fix-Essential-Load-18-display-when…
Browse files Browse the repository at this point in the history
…-show_aux-is-on

Fix Essential Load 18 display when show_aux is on
  • Loading branch information
molikk authored Aug 16, 2024
2 parents d8247ea + d45ae57 commit 0ccf1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/compact/essentialLoad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export class EssentialLoad {

static generateLoad18(data: DataDto, config: PowerFlowCardConfig) {

return svg`${data.additionalLoad >= 18 && !config.load.show_aux ?
return svg`${data.additionalLoad >= 18 ?
svg`
${LoadUtils.generateEssentialLoad(18, data.iconEssentialLoad18,
data.dynamicColourEssentialLoad18,
Expand Down

0 comments on commit 0ccf1d2

Please sign in to comment.