File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,11 @@ export default class EditorInput extends React.Component<Props> {
128128 const routeTypes = [
129129 {
130130 label : 'Standard' ,
131- options : options . filter ( opt => opt . value < 100 ) . map ( toOption )
131+ options : options . filter ( opt => parseInt ( opt . value ) < 100 ) . map ( toOption )
132132 } ,
133133 {
134134 label : 'Extended' ,
135- options : options . filter ( opt => opt . value >= 100 ) . map ( toOption )
135+ options : options . filter ( opt => parseInt ( opt . value ) >= 100 ) . map ( toOption )
136136 }
137137 ]
138138 return routeTypes . map ( ( { label, options} ) => (
Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ export type GtfsSpecField = {
578578 helpContent ?: string ,
579579 inputType : InputType ,
580580 name : string ,
581- options ?: Array < { text : string , value : string | number } > ,
581+ options ?: Array < { text : string , value : string } > ,
582582 placeholder ?: string ,
583583 required : boolean
584584}
You can’t perform that action at this time.
0 commit comments