Forecast: only adjust y-scale if experimental (#28548)
This commit is contained in:
parent
a687f30a2b
commit
ad03bcb17e
1 changed files with 4 additions and 3 deletions
|
|
@ -98,9 +98,10 @@ export default defineComponent({
|
|||
return !!this.forecast.solar && this.experimental;
|
||||
},
|
||||
solar() {
|
||||
return this.showSolarAdjust && this.solarAdjusted
|
||||
? adjustedSolar(this.forecast.solar)
|
||||
: this.forecast.solar;
|
||||
if (this.showSolarAdjust && this.solarAdjusted) {
|
||||
return adjustedSolar(this.forecast.solar);
|
||||
}
|
||||
return this.forecast.solar ? { ...this.forecast.solar, scale: undefined } : undefined;
|
||||
},
|
||||
solarAdjustText() {
|
||||
let percent = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue