RockefellerArchiveCenter/dimes

Minimap component error when loading a url without query parameters

Closed this issue · 0 comments

Describe the bug

User cannot load a URL for a specific object or collection unless that URL contains query parameters. Attempts to load the page results in a minimap component error: TypeError: Cannot read properties of undefined (reading 'filter')

To reproduce

Steps to reproduce the behavior:

  1. Go to any collection or object URL: http://localhost:3000/collections/5ogAAQyzyrRqXJaDcLPZFN
  2. See resulting error

Expected behavior

The object/collection contents and details would load for the record specified in the URL, and the minimap would be blank.

Error message or screenshots

image

Additional context

Noticed this first via the My List page when trying to navigating back to the parent collection of an object in My List.