mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Do not serve alerting images from root (#49022)
Manually tested with serve_from_sub_path = true and a custom pathUrl
This commit is contained in:
parent
ef9e08ffcf
commit
0a44fbdd42
@ -15,7 +15,7 @@ const GrafanaManagedRuleType: FC<SharedProps> = ({ selected = false, disabled, o
|
||||
Transform data with expressions.
|
||||
</span>
|
||||
}
|
||||
image="/public/img/grafana_icon.svg"
|
||||
image="public/img/grafana_icon.svg"
|
||||
selected={selected}
|
||||
disabled={disabled}
|
||||
value={RuleFormType.grafana}
|
||||
|
@ -21,7 +21,7 @@ const MimirFlavoredType: FC<Props> = ({ selected = false, disabled = false, onCl
|
||||
Expressions are not supported.
|
||||
</span>
|
||||
}
|
||||
image="/public/img/alerting/mimir_logo.svg"
|
||||
image="public/img/alerting/mimir_logo.svg"
|
||||
selected={selected}
|
||||
disabled={disabled}
|
||||
value={RuleFormType.cloudAlerting}
|
||||
|
@ -17,7 +17,7 @@ const RecordingRuleType: FC<SharedProps> = ({ selected = false, disabled = false
|
||||
Should be combined with an alert rule.
|
||||
</span>
|
||||
}
|
||||
image="/public/img/alerting/mimir_logo_recording.svg"
|
||||
image="public/img/alerting/mimir_logo_recording.svg"
|
||||
selected={selected}
|
||||
disabled={disabled}
|
||||
value={RuleFormType.cloudRecording}
|
||||
|
Loading…
Reference in New Issue
Block a user