Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LayerList sub group/collapse tools fix #2776

Merged
merged 7 commits into from
Jan 22, 2025

Conversation

okauppinen
Copy link
Contributor

Previously sub group/collapse used same LayerCollapsePanel than normal groups:
https://github.com/oskariorg/oskari-frontend/blob/2.13.2/bundles/framework/layerlist/view/LayerViewTabs/LayerList/LayerCollapse/LayerCollapsePanel.jsx#L123

When rendering was splitted to own files SubGroupList didn't have collapse extra (tools). Moved getCollapseItems to own helper file to get same content for sub groups. Renamed SubGroupCollapse because it's Collapse not List.

@okauppinen okauppinen changed the title Fix/sub collapse LayerList sub group/collapse tools fix Jan 22, 2025
@ZakarFin
Copy link
Member

Solves oskariorg/oskari-documentation#74

@ZakarFin ZakarFin added this to the 2.14.2 milestone Jan 22, 2025
@ZakarFin ZakarFin merged commit a570852 into oskariorg:hotfix/2.14.2 Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants