mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
fix for influxdb annotation issue that caused text to be shown twice, fixes #13553
This commit is contained in:
parent
07eba60e24
commit
67f5bb2c4e
@ -99,9 +99,6 @@ export default class InfluxSeries {
|
||||
if (column === 'sequence_number') {
|
||||
return;
|
||||
}
|
||||
if (!titleCol) {
|
||||
titleCol = index;
|
||||
}
|
||||
if (column === this.annotation.titleColumn) {
|
||||
titleCol = index;
|
||||
return;
|
||||
@ -114,6 +111,10 @@ export default class InfluxSeries {
|
||||
textCol = index;
|
||||
return;
|
||||
}
|
||||
// legacy case
|
||||
if (!titleCol && textCol !== index) {
|
||||
titleCol = index;
|
||||
}
|
||||
});
|
||||
|
||||
_.each(series.values, value => {
|
||||
|
Loading…
Reference in New Issue
Block a user