Browse Source

Remove unused settings icon; Update .env.example

mantine
cracklesparkle 5 months ago
parent
commit
f04fc5f575
  1. 6
      .env.example
  2. 6
      client/src/components/map/MapComponent.tsx
  3. 0
      ems/.env.example

6
.env.example

@ -7,8 +7,4 @@ POSTGRES_USER=ems
POSTGRES_PASSWORD= POSTGRES_PASSWORD=
POSTGRES_PORT=5432 POSTGRES_PORT=5432
EMS_PORT=5000 EMS_PORT=5000
MONITOR_PORT=1234
CLICKHOUSE_DB=test_db
CLICKHOUSE_USER=test_user
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
CLICKHOUSE_PASSWORD=
MONITOR_PORT=1234

6
client/src/components/map/MapComponent.tsx

@ -23,7 +23,7 @@ import useSWR, { SWRConfiguration } from 'swr'
import { fetcher } from '../../http/axiosInstance' import { fetcher } from '../../http/axiosInstance'
import { BASE_URL } from '../../constants' import { BASE_URL } from '../../constants'
import { ActionIcon, Autocomplete, Box, CloseButton, Flex, Select as MantineSelect, MantineStyleProp, rem, useMantineColorScheme, Portal, Menu, Button, Group, Divider, LoadingOverlay } from '@mantine/core' import { ActionIcon, Autocomplete, Box, CloseButton, Flex, Select as MantineSelect, MantineStyleProp, rem, useMantineColorScheme, Portal, Menu, Button, Group, Divider, LoadingOverlay } from '@mantine/core'
import { IconBoxMultiple, IconChevronDown, IconPlus, IconSearch, IconSettings, IconUpload } from '@tabler/icons-react'
import { IconBoxMultiple, IconChevronDown, IconPlus, IconSearch, IconUpload } from '@tabler/icons-react'
import { getGridCellPosition } from './mapUtils' import { getGridCellPosition } from './mapUtils'
import { IFigure, ILine } from '../../interfaces/gis' import { IFigure, ILine } from '../../interfaces/gis'
import axios from 'axios' import axios from 'axios'
@ -937,10 +937,6 @@ const MapComponent = () => {
</Flex> </Flex>
</Menu.Dropdown> </Menu.Dropdown>
</Menu> </Menu>
<ActionIcon size='lg' variant='transparent' title='Настройки ИКС'>
<IconSettings style={{ width: rem(20), height: rem(20) }} />
</ActionIcon>
</Flex> </Flex>
</Portal> </Portal>

0
ems/.env.example

Loading…
Cancel
Save