diff --git a/client/src/components/map/MapComponent.tsx b/client/src/components/map/MapComponent.tsx index 1f69a0a..0f8119d 100644 --- a/client/src/components/map/MapComponent.tsx +++ b/client/src/components/map/MapComponent.tsx @@ -33,7 +33,7 @@ import GisService from '../../services/GisService' import MapMode from './MapMode' import { satMapsProviders, schemas } from '../../constants/map' import MapPrint from './MapPrint/MapPrint' -import { Field, Menu, MenuButton, MenuList, MenuPopover, MenuTrigger, Combobox, Option, Button, Divider, Spinner, Portal, Dropdown, Tooltip, Drawer, DrawerHeader, DrawerBody, Text, Link } from '@fluentui/react-components' +import { Field, Menu, MenuButton, MenuList, MenuPopover, MenuTrigger, Combobox, Option, Button, Divider, Spinner, Portal, Dropdown, Tooltip, Drawer, DrawerHeader, DrawerBody, Text, Link, List } from '@fluentui/react-components' import { IRegion } from '../../interfaces/fuel' import { useAppStore } from '../../store/app' import { getDistrictData, getRegionData, setDistrictsData, setRegionsData } from '../../store/regions' @@ -604,7 +604,7 @@ const MapComponent = ({ }, [selectedYear]) return ( -
+
{active && @@ -681,13 +681,121 @@ const MapComponent = ({ } +
+
+ + {!!selectedRegion && !selectedYear && + +
+
e.preventDefault()} onDrop={(e) => handleImageDrop(e, id)}> +
+ {statusText && active && !selectedYear && + +
+ {/* {statusText} */} +
+
+ } +
@@ -864,21 +876,8 @@ const MapComponent = ({
- -
e.preventDefault()} onDrop={(e) => handleImageDrop(e, id)}> -
- {statusText && active && !selectedYear && - -
- {/* {statusText} */} -
-
- } -
-
- {(linesValidating || figuresValidating) && (
)} -
+