cBioPortal / react-mutation-mapper

React Lollipop Plot as a standalone library
GNU Affero General Public License v3.0
4 stars 8 forks source link

PDF download is not working #13

Open onursumer opened 5 years ago

onursumer commented 5 years ago

This is the console error message: Uncaught TypeError: _jspdfYworks.jsPDF is not a constructor. This should probably be fixed in the cbioportal-frontend-commons library.

agarun commented 5 years ago

Not sure what version of jspdf-yworks jsPDF fn is being used (couldn't find it in the commons dependencies), but in the latest release it is the default export so it doesn't have a jsPDF member. In cbioportal-frontend-commons it is a named export so it would be undefined

Dhruvi16 commented 4 years ago

Hey! I want to work on the issue. I am new to the community and I want to get started. If it is okay, please assign this issue to me. Thank you.

onursumer commented 4 years ago

@Dhruvi16 this might be tricky for a first issue since it involves some components coming from the cbioportal-frontend-commons package which currently lives in the cbioportal-frontend repo.

Having said that feel free to fork the project(s) and open a pull request for the issue.