Skip to content

Commit ff05ac7

Browse files
committed
refactor(validation): fix stop name message
1 parent f1cb21e commit ff05ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/editor/util/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function validate (
134134
}
135135
case 'TEXT':
136136
if (name === 'stop_name' && locationType !== null && (typeof locationType === 'number' && locationType <= 2)) {
137-
return validationIssue('Stop name is required for your current location type')
137+
return validationIssue('Stop name is required for stop, station, and entrance location types.')
138138
}
139139
if (name === 'route_short_name' && !value && entity && entity.route_long_name) {
140140
return false

0 commit comments

Comments
 (0)