File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const developmentProjectTypeOptions: {
2525 { value : PROJECT_TYPE_BUILD_AREA , label : 'Build Area' } ,
2626 { value : PROJECT_TYPE_FOOTPRINT , label : 'Footprint' } ,
2727 { value : PROJECT_TYPE_CHANGE_DETECTION , label : 'Change Detection' } ,
28- // { value: PROJECT_TYPE_COMPLETENESS, label: 'Completeness' },
28+ { value : PROJECT_TYPE_COMPLETENESS , label : 'Completeness' } ,
2929] ;
3030
3131const projectTypeOptions = PROJECT_CONFIG_NAME === 'development' ? developmentProjectTypeOptions : defaultProjectTypeOptions ;
Original file line number Diff line number Diff line change @@ -55,10 +55,11 @@ import {
5555 tutorialFormSchema ,
5656 TutorialFormType ,
5757 PartialTutorialFormType ,
58- projectTypeOptions ,
5958} from './utils' ;
6059import styles from './styles.css' ;
6160
61+ import projectTypeOptions from '#base/configs/projectTypes' ;
62+
6263const defaultTutorialFormValue : PartialTutorialFormType = {
6364 projectType : PROJECT_TYPE_BUILD_AREA ,
6465 zoomLevel : 18 ,
Original file line number Diff line number Diff line change @@ -17,21 +17,10 @@ import {
1717 getNoMoreThanNCharacterCondition ,
1818 ProjectType ,
1919 PROJECT_TYPE_BUILD_AREA ,
20- PROJECT_TYPE_FOOTPRINT ,
2120 PROJECT_TYPE_CHANGE_DETECTION ,
2221 PROJECT_TYPE_COMPLETENESS ,
2322} from '#utils/common' ;
2423
25- export const projectTypeOptions : {
26- value : ProjectType ;
27- label : string ;
28- } [ ] = [
29- { value : PROJECT_TYPE_BUILD_AREA , label : 'Build Area' } ,
30- { value : PROJECT_TYPE_FOOTPRINT , label : 'Footprint' } ,
31- { value : PROJECT_TYPE_CHANGE_DETECTION , label : 'Change Detection' } ,
32- { value : PROJECT_TYPE_COMPLETENESS , label : 'Completeness' } ,
33- ] ;
34-
3524// FIXME: include here
3625export interface TutorialFormType {
3726 lookFor : string ;
You can’t perform that action at this time.
0 commit comments