mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Use the stepNo to make sure the ID of the switch is unique (#97405)
This commit is contained in:
parent
20e619e445
commit
9a262c867c
@ -37,7 +37,7 @@ export const RuleEditorSection = ({
|
||||
{switchMode && (
|
||||
<Text variant="bodySmall">
|
||||
<InlineSwitch
|
||||
id="query-and-expressions-advanced-switch"
|
||||
id={`advanced-switch-${stepNo}`}
|
||||
data-testid={
|
||||
switchMode.isAdvancedMode
|
||||
? 'query-and-expressions-advanced-options'
|
||||
|
Loading…
Reference in New Issue
Block a user