Skip to content

Commit

Permalink
Hide user Layers for anonymous user
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Dec 10, 2024
1 parent c2e8170 commit 74fd8a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/client/src/pages/overview/layout/mainSideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ const MainSideNav = ({
setUpload(true);
}}
/>
<NavButton
data-cy="layers-button"
icon={<Layers />}
label={t("usersMap")}
selected={isLayersPanelVisible}
onClick={handleToggleLayers}
/>
</>
)}
<NavButton
data-cy="layers-button"
icon={<Layers />}
label={t("usersMap")}
selected={isLayersPanelVisible}
onClick={handleToggleLayers}
/>
</Stack>
<Stack
direction="column"
Expand Down

0 comments on commit 74fd8a0

Please sign in to comment.