Skip to content

Commit

Permalink
fix: preventing linking to version doc when release is archived/publi…
Browse files Browse the repository at this point in the history
…shed
  • Loading branch information
jordanl17 committed Dec 10, 2024
1 parent b5c0fc9 commit e7fa51a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface ReleaseDocumentPreviewProps {
releaseId: string
previewValues: PreviewValue
isLoading: boolean
revision?: string
hasValidationError?: boolean
}

Expand All @@ -24,6 +25,7 @@ export function ReleaseDocumentPreview({
releaseId,
previewValues,
isLoading,
revision,
hasValidationError,
}: ReleaseDocumentPreviewProps) {
const documentPresence = useDocumentPresence(documentId)
Expand Down

0 comments on commit e7fa51a

Please sign in to comment.