Skip to content

Commit

Permalink
feat(appBar): fix raw feature info page #closes1280
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminderpal committed Feb 16, 2024
1 parent 63d87bb commit 35af5bb
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions packages/geoview-core/src/core/components/common/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,13 @@ export function Layout({ children, layerList, selectedLayerPath, onLayerListClic
);
}, [isEnlarged, selectedLayerPath, layerList, handleLayerChange]);

// TODO: Investigate this why we firing this.
// // If we're on mobile
// if (theme.breakpoints.down('md')) {
// // If there are no layers and not already showing the right-side panel
// if (!layerList.length && !isLayersPanelVisible && !fullWidth) {
// setIsLayersPanelVisible(true);
// }
// }
if (theme.breakpoints.down('md')) {
// If there are no layers and not already showing the right-side panel
if (!layerList.length && !isLayersPanelVisible && !fullWidth) {
setIsLayersPanelVisible(true);
}
}

return (
<Box sx={sxClasses.detailsContainer}>
Expand Down

0 comments on commit 35af5bb

Please sign in to comment.