From 352c8452d8d0c3027e4e84ce2c9b8a027011270e Mon Sep 17 00:00:00 2001 From: Ash Date: Thu, 17 Oct 2024 14:56:58 +0100 Subject: [PATCH] fix(sanity): use new release type strings --- packages/sanity/src/core/releases/util/getReleaseTone.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sanity/src/core/releases/util/getReleaseTone.ts b/packages/sanity/src/core/releases/util/getReleaseTone.ts index 9b3dfe9fe4b..d9a14c6754b 100644 --- a/packages/sanity/src/core/releases/util/getReleaseTone.ts +++ b/packages/sanity/src/core/releases/util/getReleaseTone.ts @@ -10,11 +10,11 @@ export function getReleaseTone(release: BundleDocument): BadgeTone | undefined { return undefined } - if (release.releaseType === 'immediately') { + if (release.releaseType === 'asap') { return 'critical' } - if (release.releaseType === 'never') { + if (release.releaseType === 'undecided') { return 'explore' } return 'prospect'