Skip to content

[UI]: migrate PrivateWrapper component to TypeScript#914

Open
raskolnikov-rodion wants to merge 1 commit intoopentargets:mainfrom
raskolnikov-rodion:refactor/private-wrapper-ts
Open

[UI]: migrate PrivateWrapper component to TypeScript#914
raskolnikov-rodion wants to merge 1 commit intoopentargets:mainfrom
raskolnikov-rodion:refactor/private-wrapper-ts

Conversation

@raskolnikov-rodion
Copy link
Contributor

Description

Migrate the KnownDrugsSourceDrawer component to TypeScript.

Issue: opentargets/issues#2871

Type of change

  • TypeScript refactor

How Has This Been Tested?

Application was built locally. Component was manually inspected in the UI.

When usePermissions returns false for isPartnerPreview, the children don't render:
image

When usePermissions returns true for isPartnerPreview, the children are rendered:
image

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant