Closed davidpmccormick closed 1 day ago
Size Change: +5 B (0%)
Total Size: 978 kB
Filename | Size | Change | |
---|---|---|---|
content/webapp/.next/static/chunks/pages/works/[workId]-895c9cc51ee7f81c.js |
0 B | -25.9 kB (removed) | đ |
content/webapp/.next/static/chunks/pages/works/[workId]-d652e42a0ebf563c.js |
25.9 kB | +25.9 kB (new file) | đ |
Natalie requested this merged so going for it, will test together in staging.
What does this change?
We have works with restricted access conditions that are reporting that they have volumes available online, which is confusing (from Slack).
This PR checks the work's access condition isn't
restricted
orclosed
using logic from the pre-existingshowItemLink
function and hides the label where necessary.E.g. this url: https://wellcomecollection.org/works/z3mb56ec
Before
After