Skip to content

Commit

Permalink
use cfg.qurator
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed Jun 11, 2024
1 parent a4fad21 commit ac5f10c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion catalog/app/containers/Bucket/File.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ export default function File() {
{!!cfg.analyticsBucket && !!blocks.analytics && (
<Analytics {...{ bucket, path }} />
)}
{blocks.qurator && <QuratorSection handle={handle} />}
{cfg.qurator && blocks.qurator && (
<QuratorSection handle={handle} />

Check warning on line 501 in catalog/app/containers/Bucket/File.js

View check run for this annotation

Codecov / codecov/patch/informational

catalog/app/containers/Bucket/File.js#L500-L501

Added lines #L500 - L501 were not covered by tests
)}
{blocks.meta && (
<>
<FileView.ObjectMeta handle={handle} />
Expand Down

0 comments on commit ac5f10c

Please sign in to comment.