Skip to content

Commit 399cd1f

Browse files
committed
Note when track is implied in the console
1 parent 1267a1a commit 399cd1f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/HeaderForm.js

+9-7
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,15 @@ class HeaderForm extends Component {
428428

429429
for (const key in state.tracks) {
430430
let track = state.tracks[key];
431-
if (track.trackType === fileTypes.GRAPH && !trackIsImplied(track, availableTrackSet)) {
432-
// Load the paths for any graph tracks advertised by the server.
433-
// TODO: Do we need to do this now?
434-
console.log("Get path names for track:", track);
435-
this.getPathNames(track.trackFile);
436-
} else {
437-
console.log("Don't get path names for implied track:", track);
431+
if (track.trackType === fileTypes.GRAPH) {
432+
if (trackIsImplied(track, availableTrackSet)) {
433+
console.log("Don't get path names for implied track:", track);
434+
} else {
435+
// Load the paths for any graph tracks advertised by the server.
436+
// TODO: Do we need to do this now?
437+
console.log("Get path names for track:", track);
438+
this.getPathNames(track.trackFile);
439+
}
438440
}
439441
}
440442
}

0 commit comments

Comments
 (0)