Skip to content

Commit dc85cf6

Browse files
author
Joshi
committed
Fix lint issues
1 parent ee8e93c commit dc85cf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/plot/configuration/PlotSeries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ export default class PlotSeries extends Model {
447447
}
448448

449449
// if the first new data point has an X value > the last data point we already have, stick it at the end.
450-
const isDataInThePast = currentXVal <= this.getXVal(data[insertIndex-1]);
450+
const isDataInThePast = currentXVal <= this.getXVal(data[insertIndex - 1]);
451451
if (!sorted && isDataInThePast) {
452452
insertIndex = this.sortedIndex(newData);
453453
if (this.getXVal(data[insertIndex]) === currentXVal) {

0 commit comments

Comments
 (0)