change(ui) - metric config while updating (moving back from funnel to other)

This commit is contained in:
Shekar Siri 2022-11-25 19:11:42 +01:00
parent 4a4cfc2089
commit 3d816053ec

View file

@ -131,7 +131,7 @@ export default class Widget {
series: this.series.map((series: any) => series.toJson()),
config: {
...this.config,
col: this.metricType === 'funnel' || this.metricOf === FilterKey.ERRORS || this.metricOf === FilterKey.SESSIONS ? 4 : this.config.col
col: (this.metricType === 'funnel' || this.metricOf === FilterKey.ERRORS || this.metricOf === FilterKey.SESSIONS) ? 4 : 2
},
}
}