Skip to content
Snippets Groups Projects
Commit 986654fc authored by Adrian Orłów's avatar Adrian Orłów
Browse files

fix: overlays legends not shown

parent fc804855
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!97fix: overlays legends not shown
Pipeline #84121 passed
......@@ -3,6 +3,7 @@ import { currentStepOverlayDrawerStateSelector } from '@/redux/drawer/drawer.sel
import { useAppSelector } from '@/redux/hooks/useAppSelector';
import { DrawerHeading } from '@/shared/DrawerHeading';
import { GeneralOverlays } from './GeneralOverlays';
import { OverlaysLegends } from './OverlaysLegends';
import { UserOverlayForm } from './UserOverlayForm';
import { UserOverlays } from './UserOverlays';
......@@ -17,6 +18,7 @@ export const OverlaysDrawer = (): JSX.Element => {
<div className="h-[calc(100%-93px)] max-h-[calc(100%-93px)] overflow-y-auto">
<GeneralOverlays />
<UserOverlays />
<OverlaysLegends />
</div>
</>
)}
......
......@@ -6,7 +6,7 @@ export const OverlaysLegends = (): JSX.Element => {
const overlays = useSelector(activeOverlaysSelector);
return (
<div className="p-6" data-testid="overlays-legends">
<div className="border-t border-t-divide p-6" data-testid="overlays-legends">
{overlays.map(overlay => (
<OverlaySingleLegend key={overlay.idObject} overlay={overlay} />
))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment