Skip to content

fix / showing up in group dropdown for all datasets #110

Description

@eeholmes

The changes in #108 now cause the group dropdown and / (root) to be shown when there are no subgroups.

Example
https://earthmover-icechunk-era5.s3.us-east-1.amazonaws.com/era5_surface_aws/spatial
this has only vars at root no subgroup. In this case, the group dropdown should not appear in the UI on left but it does. In fact, ALL datasets are showing / regardless of whether they have any groups.

image

Task: Fix so that / and group selector dropdown ONLY appears when there are vars AND subgroups at root level. This is a fairly unusual case where the Zarr has vars at / but also a subgroup at /

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions