File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const SHORT_ID_OPTIONS_MAP = {
4646 93 : [ 'Po' ] ,
4747 94 : [ 'Pn' , 'As' ] ,
4848 95 : [ 'Jä' ] ,
49- 96 : [ 'Tu' , 'Ke ' ] ,
49+ 96 : [ 'Tu' , 'Nu ' ] ,
5050 97 : [ 'Nu' ] ,
5151 98 : [ 'Mä' ] ,
5252} ;
@@ -70,13 +70,10 @@ class NodeForm extends Component<INodeFormProps> {
7070
7171 private getShortIdLetterDropdownItems = ( nodeId : string ) => {
7272 const dropdownItems : IDropdownItem [ ] = [ ] ;
73- console . log ( nodeId )
7473 for ( const nodeIdBeginning in SHORT_ID_OPTIONS_MAP ) {
75- console . log ( nodeIdBeginning )
7674 if ( Object . prototype . hasOwnProperty . call ( SHORT_ID_OPTIONS_MAP , nodeIdBeginning ) ) {
7775 if ( nodeId . startsWith ( nodeIdBeginning ) ) {
7876 const nodeIdOptions = SHORT_ID_OPTIONS_MAP [ nodeIdBeginning ] ;
79- console . log ( nodeIdOptions )
8077 nodeIdOptions . forEach ( ( nodeIdOption : string ) => {
8178 const codeListLabel = this . props . codeListStore ! . getCodeListLabel (
8279 'Lyhyttunnus' ,
@@ -86,13 +83,11 @@ class NodeForm extends Component<INodeFormProps> {
8683 value : nodeIdOption ,
8784 label : `${ nodeIdOption } - ${ codeListLabel } ` ,
8885 } ;
89- console . log ( dropdownItem )
9086 dropdownItems . push ( dropdownItem ) ;
9187 } ) ;
9288 }
9389 }
9490 }
95- console . log ( dropdownItems )
9691 return dropdownItems ;
9792 } ;
9893
You can’t perform that action at this time.
0 commit comments