Skip to content

Commit 08288b7

Browse files
authored
Merge pull request #5578 from HSLdevcom/AB#347
AB#347 link to correct stop page tab from nearyou
2 parents 91fdef1 + 6c99a02 commit 08288b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/component/nearyou/StopNearYou.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import connectToStores from 'fluxible-addons-react/connectToStores';
66
import Modal from '@hsl-fi/modal';
77
import { stopShape, configShape, relayShape } from '../../util/shapes';
88
import { hasEntitiesOfType } from '../../util/alertUtils';
9-
import { stopPagePath, PREFIX_DISRUPTION } from '../../util/path';
9+
import { stopPagePath } from '../../util/path';
1010
import { AlertEntityType } from '../../constants';
1111
import StopNearYouHeader from './StopNearYouHeader';
1212
import AlertBanner from '../AlertBanner';
@@ -38,7 +38,7 @@ const StopNearYou = (
3838

3939
const description = desc || stop.desc;
4040
const isStation = stop.locationType === 'STATION';
41-
const linkAddress = stopPagePath(isStation, gtfsId, PREFIX_DISRUPTION);
41+
const linkAddress = stopPagePath(isStation, gtfsId);
4242

4343
const { constantOperationStops } = config;
4444
const { locale } = intl;

0 commit comments

Comments
 (0)