From 9931afca317d0a69be52d92f582411deb7dc10d2 Mon Sep 17 00:00:00 2001 From: Zog Date: Fri, 6 Apr 2018 08:07:46 +0200 Subject: Refs #6411; Fix routes editor Disable "moveup" action on first stop, and "mouvedown" on last --- app/javascript/routes/components/StopPoint.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/routes/components/StopPoint.js b/app/javascript/routes/components/StopPoint.js index 368ec8261..768d069c0 100644 --- a/app/javascript/routes/components/StopPoint.js +++ b/app/javascript/routes/components/StopPoint.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types' import BSelect2 from './BSelect2' import OlMap from './OlMap' -import { defaultAttribute } from '../actions' +import { defaultAttribute } from '../actions' export default function StopPoint(props, {I18n}) { return ( @@ -42,13 +42,13 @@ export default function StopPoint(props, {I18n}) {