Skip to content

Commit

Permalink
fix: using config to hide import
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmouths committed Dec 4, 2024
1 parent e3e8a0b commit 15be569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/WritePlan/WritePlan.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ function WritePlan({
<Tab eventKey={"create"} title={t("Create")}>
<AddResearchOutput planId={planId} handleClose={() => {}} close={false} show={true} inEdition={false} />
</Tab>
<Tab eventKey="import" title={t("Import")}>
<ImportResearchOutput planId={planId} handleClose={() => {}} close={false} show={true} />
</Tab>
{configuration.enableImportResearchOutput && (<Tab eventKey="import" title={t("Import")}>
<ImportResearchOutput planId={planId} handleClose={() => { }} close={false} show={true} />
</Tab>)}
</Tabs>
</div>
</Panel.Body>
Expand Down

0 comments on commit 15be569

Please sign in to comment.