graph legend: fix quotes displaying

React already escapes all strings, so it's no need to pass escaped alias
This commit is contained in:
Alexander Zobnin 2018-10-22 16:45:16 +03:00
parent 36354856f9
commit 011d7ffa70
No known key found for this signature in database
GPG Key ID: E17E9ABACEFA59EB

View File

@ -93,7 +93,7 @@ export class LegendItem extends React.PureComponent<LegendItemProps, LegendItemS
const valueItems = values ? this.renderLegendValues() : [];
const seriesLabel = (
<LegendSeriesLabel
label={series.aliasEscaped}
label={series.alias}
color={series.color}
yaxis={this.state.yaxis}
onLabelClick={this.onLabelClick}