chore(slo): Autofill the slo when creating an alert from slo details page (#154352)

This commit is contained in:
Kevin Delemme 2023-04-04 11:45:07 -04:00 committed by GitHub
parent 4d01dd8ba3
commit b5deb19d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ export function HeaderControl({ isLoading, slo }: Props) {
ruleTypeId={SLO_BURN_RATE_RULE_ID}
canChangeTrigger={false}
onClose={onCloseRuleFlyout}
initialValues={{ name: `${slo.name} burn rate` }}
initialValues={{ name: `${slo.name} burn rate`, params: { sloId: slo.id } }}
/>
) : null}
</>