Skip to content

Commit

Permalink
fix(app): Use boolean type for Share component prop in tab routes
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Sep 6, 2023
1 parent e63da54 commit ccada65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const TabRoutesDraft = ({ dataset, hasEdit }) => {
datasetId={dataset.id}
permissions={dataset.permissions}
reviewers={dataset.reviewers}
hasSnapshot={dataset.snapshots.length}
hasSnapshot={dataset.snapshots.length !== 0}
/>
}
/>
Expand Down

0 comments on commit ccada65

Please sign in to comment.