Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
remove redundant conditional expression
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Nov 1, 2021
1 parent d7575a3 commit 5406bce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/plugin-chart-echarts/src/Timeseries/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ export function transformSeries(
areaStyle: area
? {
opacity:
forecastSeries.type === ForecastSeriesEnum.ForecastUpper || area
? opacity * areaOpacity
: 0,
forecastSeries.type === ForecastSeriesEnum.ForecastUpper ? opacity * areaOpacity : 0,
}
: undefined,
emphasis,
Expand Down

0 comments on commit 5406bce

Please sign in to comment.