Skip to content

Commit

Permalink
Energyflow: battery grid charge reflow (#16976)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored Oct 30, 2024
1 parent 4b51a30 commit 7b933f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/js/components/Energyflow/Energyflow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
data-testid="energyflow-entry-batterydischarge"
@details-clicked="openBatterySettingsModal"
>
<template v-if="batteryGridChargeActive" #subline> &nbsp; </template>
<template v-if="batteryGridChargeActive" #subline>
<div class="d-none d-md-block">&nbsp;</div>
</template>
</EnergyflowEntry>
<EnergyflowEntry
:name="$t('main.energyflow.gridImport')"
Expand Down Expand Up @@ -370,6 +372,9 @@ export default {
batteryConfigured() {
this.$nextTick(this.updateHeight);
},
batteryMode() {
this.$nextTick(this.updateHeight);
},
},
mounted() {
window.addEventListener("resize", this.updateHeight);
Expand Down

0 comments on commit 7b933f2

Please sign in to comment.