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.
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 /
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.
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 /