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> {
128
128
const routeTypes = [
129
129
{
130
130
label : 'Standard' ,
131
- options : options . filter ( opt => opt . value < 100 ) . map ( toOption )
131
+ options : options . filter ( opt => parseInt ( opt . value ) < 100 ) . map ( toOption )
132
132
} ,
133
133
{
134
134
label : 'Extended' ,
135
- options : options . filter ( opt => opt . value >= 100 ) . map ( toOption )
135
+ options : options . filter ( opt => parseInt ( opt . value ) >= 100 ) . map ( toOption )
136
136
}
137
137
]
138
138
return routeTypes . map ( ( { label, options} ) => (
Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ export type GtfsSpecField = {
578
578
helpContent ?: string ,
579
579
inputType : InputType ,
580
580
name : string ,
581
- options ?: Array < { text : string , value : string | number } > ,
581
+ options ?: Array < { text : string , value : string } > ,
582
582
placeholder ?: string ,
583
583
required : boolean
584
584
}
You can’t perform that action at this time.
0 commit comments