Skip to content
Snippets Groups Projects
Commit 734a05f3 authored by Fabrice Salvaire's avatar Fabrice Salvaire
Browse files

fix

parent 86415d33
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ class RouteModel {
routes = routes.filter(
route => min_float <= route.grade_float && route.grade_float <= max_float
);
} else
}
if (this._profile_filter !== null)
routes = routes.filter(route => this._profile_filter.has(route.line.profile));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment