fix(customChecks): bring back custom check saving (#18194)
parent
bf13e339fe
commit
782a0d0f05
|
@ -35,6 +35,10 @@ export const builderToPostCheck = (state: AppState) => {
|
||||||
if (check.type === 'deadman') {
|
if (check.type === 'deadman') {
|
||||||
return toDeadManPostCheck(alertBuilder, check)
|
return toDeadManPostCheck(alertBuilder, check)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (check.type === 'custom') {
|
||||||
|
return {...check, status: check.activeStatus}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const toDeadManPostCheck = (
|
const toDeadManPostCheck = (
|
||||||
|
|
Loading…
Reference in New Issue