Skip to content

Commit

Permalink
Update context/app/static/js/pages/Dataset/hooks.ts
Browse files Browse the repository at this point in the history
Co-authored-by: John Conroy <[email protected]>
  • Loading branch information
austenem and john-conroy authored Oct 1, 2024
1 parent 97b91e7 commit f3368c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context/app/static/js/pages/Dataset/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function getProcessedDatasetSection({
const shouldDisplaySection = {
summary: true,
visualization: visualization || Boolean(conf && 'data' in conf && conf?.data),
files: Boolean(files?.length !== 0),
files: Boolean(files?.length),
analysis: Boolean(metadata?.dag_provenance_list),
attribution: creation_action !== 'Central Process' && Boolean(contributors?.length !== 0),
};
Expand Down

0 comments on commit f3368c8

Please sign in to comment.