feat(citation): bug edit disabled and crossref/anystle re-fetching data
Identified two bugs in the production editor - citation component
- The edit modal button seems always disabled
- The Crossref and Anystyle were re-fetching data if not valid on hard refresh
Solution:
The needsValidation
is set to true by default in the else statement of dataciteHasBeenRun
false logic cause of the above bugs. I have updated them as needed kindly check the updated code.