Skip to content

<ResourceAccordion> should accept DatasetV2WithFullObject as prop type #953

@abulte

Description

@abulte

Cf hack here https://github.com/opendatateam/udata-front-kit/pull/1074/changes#diff-f4a60ef70d6db1c3f78f57bc5556b0901e9b5b47176e7aa34acde5575ff24f6bR27

// FIXME: ResourceAccordion should accept DatasetV2WithFullObject — upstream bug in @datagouv/components-next
// @ts-expect-error dataset prop is typed as Dataset | DatasetV2, not DatasetV2WithFullObject
const datasetForAccordion: DatasetV2 = props.dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions