Alerting: Prevent assigning duplicated query/expression names (#68664)

Prevent assigning duplicate query/expression names
This commit is contained in:
Virginia Cepeda
2023-05-30 10:52:21 -03:00
committed by GitHub
parent d98813796c
commit ce0c1f0b0b

View File

@@ -181,7 +181,7 @@ export class QueryRows extends PureComponent<Props> {
query={query}
onChangeQuery={this.onChangeQuery}
onRemoveQuery={this.onRemoveQuery}
queries={queries}
queries={[...queries, ...expressions]}
onChangeDataSource={this.onChangeDataSource}
onDuplicateQuery={this.props.onDuplicateQuery}
onChangeTimeRange={this.onChangeTimeRange}