RockefellerArchiveCenter/dimes

View online button persists when it should not

Closed this issue · 0 comments

Describe the bug

The "view online" button in item details does not go away when the user selects an object that is not available to view online after selecting one that is.

To reproduce

Steps to reproduce the behavior:

  1. Go to objects/NTgrrvWPyMzgPyL4UU7Spb
  2. Click on the object just below the first object (Atomic energy - General)
  3. Notice that the "View Online' button in the object details is still visible

Expected behavior

Button should disappear when digital object is not available for a given object