Energyflow: battery grid charge reflow (#16976)

This commit is contained in:
Michael Geers 2024-10-30 13:22:43 +01:00 • committed by GitHub
parent 4b51a3014b
commit 7b933f2ed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')"
@ -370,6 +372,9 @@ export default {
batteryConfigured() {
this.$nextTick(this.updateHeight);
},
batteryMode() {
this.$nextTick(this.updateHeight);
},
},
mounted() {
window.addEventListener("resize", this.updateHeight);