Skip to content

Commit

Permalink
fix: remove the hardcoded value of isReleased field
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengShi-1 committed Sep 19, 2024
1 parent b6484bf commit 3e7399d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@faker-js/faker": "7.6.0",
"@iqss/dataverse-client-javascript": "2.0.0-pr187.f29c0e6",
"@iqss/dataverse-client-javascript": "2.0.0-pr192.6406015",
"@iqss/dataverse-design-system": "*",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@tanstack/react-table": "8.9.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class JSCollectionMapper {
return {
id: jsCollection.alias,
name: jsCollection.name,
isReleased: true, // TODO: replace with real value, waiting for https://github.com/IQSS/dataverse-client-javascript/issues/139
isReleased: jsCollection.isReleased,
description: jsCollection.description,
affiliation: jsCollection.affiliation,
hierarchy: JSCollectionMapper.toHierarchy(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const collectionExpected: Collection = {
id: 'new-collection',
name: 'Scientific Research',
description: 'We do all the science.',
isReleased: true,
isReleased: false,
affiliation: 'Scientific Research University',
hierarchy: new UpwardHierarchyNode(
'Scientific Research',
Expand Down

0 comments on commit 3e7399d

Please sign in to comment.