mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 01:52:52 +08:00
Prettier: Upgrade to 2 (#30387)
* Updated package json but not updated source files * Update eslint plugin * updated files
This commit is contained in:
@ -109,11 +109,11 @@ const getStoriesKnobs = () => {
|
||||
export const graphWithLegend = () => {
|
||||
const { legendPlacement, rightAxisSeries, renderLegendAsTable } = getStoriesKnobs();
|
||||
const props: GraphWithLegendProps = {
|
||||
series: series.map(s => {
|
||||
series: series.map((s) => {
|
||||
if (
|
||||
rightAxisSeries
|
||||
.split(',')
|
||||
.map(s => s.trim())
|
||||
.map((s) => s.trim())
|
||||
.indexOf(s.label.split('-')[0]) > -1
|
||||
) {
|
||||
s.yAxis = { index: 2 };
|
||||
|
Reference in New Issue
Block a user