Commit 7a5c9f8a authored by Phil Hughes's avatar Phil Hughes

Fixed parallel discussions throwing an error

parent efbb9501
......@@ -149,8 +149,8 @@ export default {
if (left || right) {
return {
left: mapDiscussions(line.left),
right: mapDiscussions(line.right, () => !left),
left: line.left ? mapDiscussions(line.left) : null,
right: line.right ? mapDiscussions(line.right, () => !left) : null,
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment