Skip to content

Commit

Permalink
fix(sanity): fix rendering the scheduled releases in the list
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Oct 24, 2024
1 parent 04ea9fa commit c889772
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export const DocumentPerspectiveMenu = memo(function DocumentPerspectiveMenu() {
(release) => release.metadata.releaseType === 'asap',
)

const scheduledReleases = documentVersions?.filter((release) => release.state === 'scheduled')
const scheduledReleases = documentVersions?.filter(
(release) => release.metadata.releaseType === 'scheduled',
)
const undecidedReleases = documentVersions?.filter(
(release) => release.metadata.releaseType === 'undecided',
)
Expand Down

0 comments on commit c889772

Please sign in to comment.