Skip to content

Commit

Permalink
Merge "ui: Fix track group with parent_id=0"
Browse files Browse the repository at this point in the history
  • Loading branch information
chromy authored and Gerrit Code Review committed Mar 23, 2023
2 parents 134b110 754077b commit bfdb3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/controller/track_decider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 347,7 @@ class TrackDecider {
const maxDepth = it.maxDepth;
let trackGroup = SCROLLING_TRACK_GROUP;

if (parentTrackId) {
if (parentTrackId !== null) {
const groupId = parentIdToGroupId.get(parentTrackId);
if (groupId === undefined) {
trackGroup = uuidv4();
Expand Down

0 comments on commit bfdb3fc

Please sign in to comment.