Skip to content

Commit

Permalink
fix: All files have konnector block
Browse files Browse the repository at this point in the history
During this PR #2563, we have to pass the current file as an argument.
The test was therefore always true in non-public view
  • Loading branch information
Merkur39 committed Feb 20, 2024
1 parent 93e9e3e commit a829d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/Viewer/Panel/getPanelBlocks.jsx
Expand Up @@ -27,7 +27,7 @@ export const getPanelBlocksSpecs = (isPublic = false) => ({
component: Qualification
},
konnector: {
condition: () => isFromKonnector && !isPublic,
condition: file => isFromKonnector(file) && !isPublic,
component: KonnectorBlock
},
certifications: {
Expand Down

0 comments on commit a829d5d

Please sign in to comment.