BioDrop
BioDrop copied to clipboard
links property is now optional. generate.js doesn't break when links are not defined.
Fixes Issue
Closes #1334
Changes proposed
Makes a validation to check if links exists in ProfilePage.js, if true the array of links passes all his values, else an empty array is passed. Then in generate.js another validation is made to check if profile links exists, if true the length is returned, else a default zero is passed.
Check List (Check all the applicable boxes)
- [x] My code follows the code style of this project.
- [ ] My change requires changes to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] All new and existing tests passed.
- [x] This PR does not contain plagiarized content.
- [x] The title of my pull request is a short description of the requested changes.
Screenshots
User profile data without links attribute

Profile user view working without links attribute
