UMN-LATIS / elevator-ui

UI for Elevator, a flexible digital asset repository
2 stars 0 forks source link

Related Asset Cache Titles aren't being used in some cases #234

Closed cmcfadden closed 1 year ago

cmcfadden commented 1 year ago

Sample asset: https://dcl.elevator.umn.edu/asset/viewAsset/56e0267b7d58ae2e318babc5

New UI:

Screenshot 2023-09-29 at 10 24 28 PM

Old UI:

Screenshot 2023-09-29 at 10 24 35 PM

Values are being served in the relatedAssetCache (measurement for example):

        "56e0267b7d58ae2e318babc9": {
            "primaryHandler": null,
            "readyForDisplay": true,
            "relatedAssetTitle": [
                "59 m"
            ]
        },

I believe this is because RelatedAssetWidget.vue passes the assetCache in as assetCacheItem but AccordionRelatedAssetWidgetItem.vue is expecting it to be named assetCache? Didn't push a commit cause I might be misreading.