They don't use optional chaining (?.), like the code few lines above, so whenever the additional display does not contain a homepage, bad things happen - for me this resulted in dataset title being carried over when opening a subdataset in the same tab, and blank page when opened in a new tab.
I think these two lines could have been left in the code by accident:
https://github.com/datalad/datalad-catalog/blob/821b12f51302b9a830dee00ac5f4f247aed0532e/datalad_catalog/catalog/assets/app_component_dataset.js#L502-L503
They don't use optional chaining (
?.
), like the code few lines above, so whenever the additional display does not contain a homepage, bad things happen - for me this resulted in dataset title being carried over when opening a subdataset in the same tab, and blank page when opened in a new tab.