Skip to content

Commit

Permalink
fix(sanity): use new release type strings
Browse files Browse the repository at this point in the history
  • Loading branch information
juice49 committed Oct 17, 2024
1 parent 0bbd7d9 commit 352c845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sanity/src/core/releases/util/getReleaseTone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 352c845

Please sign in to comment.