When in Dashboard, admin needs to refresh the page to see new books
Expected behavior
Books created by users should display in admin's dashboard immediately.
Current behavior
When admin is already in the Dashboard page, and other users meanwhile are creating new books; the new books are not shown in admin's dashboard unless admin reloads the page.
Steps to reproduce
[Provide a link to a live example or screenshots, and the steps to reproduce this bug]
- Log in as admin in a browser and go to the dashboard page
- In another browser log in as another user and create a new book
- Go to the browser you are logged in as admin and check that the new book is not shown in dashboard yet
- As admin reload the page - now you will see the book created in Step 2
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]