0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.changeset/chilled-carrots-guess.md
Christopher Jäger (Mogler) e056c8dfd3
Missing "onClick" prop in @verdaccio/ui-components Link component preventing handleDownload call in Package.tsx #3988 (#3989)
* fix: Add onClick handler in Link component
In the "Link" component, the onClick handler was not provided,
leading to the absence of a download action in the Package.tsx
renderDownloadLink component.

* Removed "external" attribute from "renderDownloadLink"
The "external" attribute is unnecessary in this context
since the download action is triggered by the "handleDownload" callback.

* added changeset for @verdaccio/ui-components
2023-08-24 21:52:35 +02:00

280 B

@verdaccio/ui-components
patch
  • added onClick prop to Link component in @verdaccio/ui-components. (@moglerdev in #3989)
  • resolved issue in the Package component where the download button was incorrectly opening a new tab to the homepage. (@moglerdev in #3989)