Skip to content

Commit

Permalink
fix: 修复promql模式下指标复制错误
Browse files Browse the repository at this point in the history
  • Loading branch information
liangling0628 committed Dec 9, 2023
1 parent 90d9316 commit 0ab92c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export default class MonitorQueryEditor extends React.PureComponent<IQueryProps,
onMouseLeave={() => this.handleHideTool(metric)}>
<div className='metric-item-title'>
<span style={{ fontSize: 0, opacity: 0 }}
id={metric.metric_id}>{metric.metric_id.replace(/\./g, ':').replace('::', ':')}
id={metric.metric_id}>{metric.readable_name}
</span>
<div className='title-wrap'>
<span className='title-name'>{this.getSearchNode(metric.readable_name)}</span>{this.getSearchNode(metric.titleAlias)}
Expand Down

0 comments on commit 0ab92c5

Please sign in to comment.