Fix(new version and task manager): Bug fixes
The issue resolved here are,
- Upon submission of a new manuscript, the submit new version button was being displayed. I have added a status check on the same.
- #1272 (closed) For registered users, the recipientUser object was being returned from database to access email, but due to states it was not being accessed on the front end. I have wrapped up the state update of task variable in useEffect and the system is able to send emails fine.