Skip to content

Commit 6660f2a

Browse files
authored
Merge pull request #2038 from HSLdevcom/70948-create-route-error
debug
2 parents 30d97ab + ff9bd2f commit 6660f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/sidebar/routeView/NewRouteView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ class NewRouteView extends React.Component<IRouteViewProps, IRouteViewState> {
7676

7777
try {
7878
const lineId = navigator.getQueryParam(QueryParams.lineId) as string;
79+
console.log(lineId)
7980
const line = await LineService.fetchLine(lineId);
81+
console.log(line)
8082
const basicRoute = await RouteService.fetchRoute({
8183
routeId: line.lineBasicRoute,
8284
areRoutePathLinksExcluded: true,
8385
});
8486
const nameFi = basicRoute ? basicRoute.routeName : '';
8587
const nameSw = basicRoute ? basicRoute.routeNameSw : '';
86-
console.log(lineId)
87-
console.log(line)
8888
console.log(basicRoute)
8989

9090
const newRoute = RouteFactory.createNewRoute({ lineId, nameFi, nameSw });

0 commit comments

Comments
 (0)