Skip to content

Commit 655908e

Browse files
committed
Auto merge of #3276 - Turbo87:empty-version, r=locks
DownloadGraph: Ignore missing `version` relationships Fixes #3254
2 parents 2479b7f + abb54a7 commit 655908e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/components/download-graph.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ export default class DownloadGraph extends Component {
8484
}
8585

8686
downloads.forEach(d => {
87-
let version_num = d.version.num;
87+
let version = d.version;
88+
if (!version) return;
89+
90+
let version_num = version.num;
8891

8992
versions.add(version_num);
9093

0 commit comments

Comments
 (0)