File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
manager-dashboard/app/Base/configs Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 88
99const 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
3331export default projectTypeOptions ;
You can’t perform that action at this time.
0 commit comments