swift-account-97627
09/21/2020, 11:47 AMdatahub-web/@datahub/data-models/addon/entity/dataset/dataset-entity.ts
This class has an entity
property. In the search results view, this property is populated with the dataset, as expected.
In the header on the dataset detail view, this property appears to be populated with an object containing a dataset
property which as the actual dataset. This seems to violate the type annotation, and means that most of the getter properties fall back to null/empty values.
I haven't changed anything about this page so I'm not sure why this property isn't being set correctly, or if this is expected and I'm missing something about how it works.
Any advice from the front-end developers?bumpy-keyboard-50565
09/21/2020, 12:00 PMwitty-hydrogen-79411
09/21/2020, 4:46 PMwitty-hydrogen-79411
09/21/2020, 4:47 PMdataset-header.ts
?witty-hydrogen-79411
09/21/2020, 4:47 PMentity.dataset
?witty-hydrogen-79411
09/21/2020, 4:48 PMwitty-hydrogen-79411
09/21/2020, 4:48 PMwitty-hydrogen-79411
09/21/2020, 4:48 PMswift-account-97627
09/21/2020, 5:03 PMdata-models.ts
, or in BaseEntity.readEntity
swift-account-97627
09/21/2020, 5:03 PMwitty-hydrogen-79411
09/21/2020, 5:07 PMwitty-hydrogen-79411
09/21/2020, 5:08 PMswift-account-97627
09/21/2020, 5:20 PMswift-account-97627
09/22/2020, 6:51 AMbumpy-keyboard-50565
09/22/2020, 10:18 AMwitty-hydrogen-79411
09/22/2020, 5:49 PM