Skip to content

Commit

Permalink
chore(web): collapse side panels (#799)
Browse files Browse the repository at this point in the history
Co-authored-by: nina992 <nouralali992@gmail.com>
  • Loading branch information
nina992 and nina992 committed Nov 8, 2023
1 parent 9c4c84a commit 8aa78f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const GroupSectionField: React.FC<GroupSectionFieldProps> = ({
const t = useT();
return (
<>
<StyledSidePanelSectionField title={t("Scene")}>
<StyledSidePanelSectionField title={t("Scene")} startCollapsed>
{[...new Set(scene?.property?.schema?.groups.map(({ collection }) => collection))].map(
(collection, index) =>
collection && (
Expand All @@ -55,7 +55,7 @@ const GroupSectionField: React.FC<GroupSectionFieldProps> = ({
),
)}
</StyledSidePanelSectionField>
<StyledSidePanelSectionField title={t("Layers")}>
<StyledSidePanelSectionField title={t("Layers")} startCollapsed>
<Layers
layers={layers}
selectedLayerId={selectedLayerId}
Expand Down

0 comments on commit 8aa78f7

Please sign in to comment.