Skip to content

Commit 2f28c36

Browse files
committed
projectTypeOptions config for crowdmap webapp
1 parent e64342a commit 2f28c36

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

manager-dashboard/app/Base/configs/projectTypes.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88

99
const PROJECT_CONFIG_NAME = process.env.REACT_APP_PROJECT_CONFIG_NAME as string;
1010

11-
const defaultProjectTypeOptions: {
11+
const mapswipeProjectTypeOptions: {
1212
value: ProjectType;
1313
label: string;
1414
}[] = [
@@ -18,16 +18,14 @@ const defaultProjectTypeOptions: {
1818
{ value: PROJECT_TYPE_COMPLETENESS, label: 'Completeness' },
1919
];
2020

21-
const developmentProjectTypeOptions: {
21+
const crowdmapProjectTypeOptions: {
2222
value: ProjectType;
2323
label: string;
2424
}[] = [
2525
{ value: PROJECT_TYPE_BUILD_AREA, label: 'Build Area' },
26-
{ value: PROJECT_TYPE_FOOTPRINT, label: 'Footprint' },
27-
{ value: PROJECT_TYPE_CHANGE_DETECTION, label: 'Change Detection' },
2826
{ value: PROJECT_TYPE_COMPLETENESS, label: 'Completeness' },
2927
];
3028

31-
const projectTypeOptions = PROJECT_CONFIG_NAME === 'development' ? developmentProjectTypeOptions : defaultProjectTypeOptions;
29+
const projectTypeOptions = PROJECT_CONFIG_NAME === 'crowdmap' ? crowdmapProjectTypeOptions : mapswipeProjectTypeOptions;
3230

3331
export default projectTypeOptions;

0 commit comments

Comments
 (0)