Main dashboard book status for chapter-processed books with parts is always 'In production'
Expected behavior
Status of the book in main dashboard should match with the status of book components (if all have the same status) and if book components have different statuses it's in productions.
Current behavior
Even when the status matches for all book components, for books which include parts the book status in dashboard is 'in production' see here.
Steps to reproduce
- First Create a chapter processed book with parts. Upload a new book component and submit it. Book status will match with component status.
- Secondly create a part and the book status will be changed.
Environment
Tested this in ncbidev.cloud68.co