We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30d97ab + ff9bd2f commit 6660f2aCopy full SHA for 6660f2a
src/components/sidebar/routeView/NewRouteView.tsx
@@ -76,15 +76,15 @@ class NewRouteView extends React.Component<IRouteViewProps, IRouteViewState> {
76
77
try {
78
const lineId = navigator.getQueryParam(QueryParams.lineId) as string;
79
+ console.log(lineId)
80
const line = await LineService.fetchLine(lineId);
81
+ console.log(line)
82
const basicRoute = await RouteService.fetchRoute({
83
routeId: line.lineBasicRoute,
84
areRoutePathLinksExcluded: true,
85
});
86
const nameFi = basicRoute ? basicRoute.routeName : '';
87
const nameSw = basicRoute ? basicRoute.routeNameSw : '';
- console.log(lineId)
- console.log(line)
88
console.log(basicRoute)
89
90
const newRoute = RouteFactory.createNewRoute({ lineId, nameFi, nameSw });
0 commit comments