Skip to content

Commit

Permalink
fix: isReleased (will be replaced with dataset isReleased when integr…
Browse files Browse the repository at this point in the history
…ation is completed)
  • Loading branch information
ekraffmiller committed Oct 27, 2023
1 parent a441c83 commit ecf87c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dataset/infrastructure/mappers/JSDatasetMapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export class JSDatasetMapper {
[], // TODO Connect with dataset locks
true, // TODO Connect with dataset hasValidTermsOfAccess
true, // TODO Connect with dataset isValid
!!jsDataset.versionInfo.releaseTime, // TODO Connect with dataset isReleased,
jsDataset.versionInfo.releaseTime !== undefined &&
!isNaN(jsDataset.versionInfo.releaseTime.getTime()), // TODO Connect with dataset isReleased,
privateUrl
).build()
}
Expand Down

0 comments on commit ecf87c4

Please sign in to comment.