Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
m
Affluence
Affluence Front
Commits
c5f00797
Commit
c5f00797
authored
May 19, 2020
by
Léonard Treille
Browse files
Fix stopId issue
parent
56b10dba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/components/detail-prochainspassages/detail-prochainspassages.component.ts
View file @
c5f00797
...
...
@@ -103,7 +103,7 @@ export class DetailProchainspassagesComponent implements OnInit, OnDestroy {
// Set the stopId property from the time values.
this
.
prochPassages
.
forEach
(
passage
=>
{
passage
.
stopId
=
passage
.
time
.
map
(
p
=>
p
.
stopId
).
reduce
((
acc
,
p
)
=>
p
,
''
)
;
passage
.
stopId
=
passage
.
time
[
0
]?.
stopId
;
});
if
(
this
.
mode
===
'
compact-unique
'
&&
this
.
lines
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment