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:
Gilles De Mey 2022-05-18 09:54:24 +02:00 committed by GitHub
parent ef9e08ffcf
commit 0a44fbdd42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}