Describe the bug
On DSpace 9, Embargo status badge for bitstreams are visible only when navigating to item pages. If the page is refreshed or if a user directly lands on an item page, then they are not rendered.
To Reproduce
Steps to reproduce the behavior:
- Enable the config property
item.bitstream.showAccessStatuses
- Make an item with at least one embargoed item
- Navigate to the item page and verify that the embargo badge shows up
- Refresh the page and the badge would now disappear
Expected behavior
The badge should be rendered at all times, if there is an embargo in place
Related work
This is caused by reassigning accessStatus$ inside a subscription in AccessStatusBadgeComponent#handleBitstream(). I will write a fix for this.
Describe the bug
On DSpace 9, Embargo status badge for bitstreams are visible only when navigating to item pages. If the page is refreshed or if a user directly lands on an item page, then they are not rendered.
To Reproduce
Steps to reproduce the behavior:
item.bitstream.showAccessStatusesExpected behavior
The badge should be rendered at all times, if there is an embargo in place
Related work
This is caused by reassigning
accessStatus$inside a subscription inAccessStatusBadgeComponent#handleBitstream(). I will write a fix for this.