Energyflow: ensure same power units (#21493)
This commit is contained in:
parent
fb22b6b52a
commit
2adcf42beb
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ export default defineComponent({
|
|||
this.updateDetailsTooltip();
|
||||
}
|
||||
},
|
||||
powerInKw(newVal, oldVal) {
|
||||
powerUnit(newVal, oldVal) {
|
||||
// force update if unit changes but not the value
|
||||
if (newVal !== oldVal) {
|
||||
(this.$refs["powerNumber"] as any).forceUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue