Skip to content
Snippets Groups Projects
Commit e0187c53 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

history map: Do not show route for manually added journeys

parent cea4b71c
No related branches found
No related tags found
No related merge requests found
......@@ -437,7 +437,7 @@ sub map_history {
my $from_index = first_index { $_ eq $journey->{from_name} } @route;
my $to_index = first_index { $_ eq $journey->{to_name} } @route;
if ( $from_index == -1 or $to_index == -1 ) {
if ( $from_index == -1 or $to_index == -1 or $journey->{edited} == 0x3fff ) {
next;
}
......
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