mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
add {} for readability
This commit is contained in:
parent
d83849a1b5
commit
4a8a4482fc
@ -143,11 +143,13 @@
|
||||
}
|
||||
});
|
||||
|
||||
if (!hasTotalsAlready) this.addSeries({
|
||||
if (!hasTotalsAlready) {
|
||||
this.addSeries({
|
||||
data: _.values(data),
|
||||
type: 'line',
|
||||
name: 'Total'
|
||||
}, false)
|
||||
}
|
||||
|
||||
this.redraw();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user