Skip to content

Commit

Permalink
hide lines
Browse files Browse the repository at this point in the history
  • Loading branch information
gcor committed Sep 14, 2023
1 parent 41f4f8c commit 41f5419
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions components/Layers/Filters.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export const FILTERS_CONFIG: FilterConfig = {
source: SOURCES_BY_TYPE.dtp,
isVerified: true,
},
[FilterType.Line]: {
title: 'Туристические маршруты',
component: <LinesFilter />,
isVerified: true,
},
// [FilterType.Line]: {
// title: 'Туристические маршруты',
// component: <LinesFilter />,
// isVerified: true,
// },
};
28 changes: 14 additions & 14 deletions components/Layers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { designCode } from 'components/Layers/DesignCode/designCode';
import { dtp } from 'components/Layers/DTP/dtp';
import { okn } from 'components/Layers/OKN/okn';

// import { lines } from 'components/Layers/Lines/lines';
// import { LinesCardContent } from 'components/Layers/Lines/CardContent/CardContent';
import { lines } from 'components/Layers/Lines/lines';
import { LinesCardContent } from 'components/Layers/Lines/CardContent/CardContent';
import { DesignCodeCardContent } from './DesignCode/CardContent/CardContent';
import { DTPCardContent } from './DTP/CardContent/CardContent';
import { HousesCardContent } from './Houses/CardContent/CardContent';
Expand All @@ -27,16 +27,16 @@ export const MODEL_CONFIG = {
cardContent: OKNCardContent,
requests: { oneItemRequest: okn.getObject },
},
// [MapItemType.RedLines]: {
// cardContent: LinesCardContent,
// requests: { oneItemRequest: lines.getObject },
// },
// [MapItemType.PinkLines]: {
// cardContent: LinesCardContent,
// requests: { oneItemRequest: lines.getObject },
// },
// [MapItemType.BlueLines]: {
// cardContent: LinesCardContent,
// requests: { oneItemRequest: lines.getObject },
// },
[MapItemType.RedLines]: {
cardContent: LinesCardContent,
requests: { oneItemRequest: lines.getObject },
},
[MapItemType.PinkLines]: {
cardContent: LinesCardContent,
requests: { oneItemRequest: lines.getObject },
},
[MapItemType.BlueLines]: {
cardContent: LinesCardContent,
requests: { oneItemRequest: lines.getObject },
},
} as const;

0 comments on commit 41f5419

Please sign in to comment.