Skip to content

Commit fb73638

Browse files
gotokenhsbt
authored andcommitted
Skip preview branch in the timeline charts on downloads/branches/
1 parent 952d4e6 commit fb73638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/branch-timeline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
function drawChart() {
88
const source =
9-
JSON.parse(document.getElementById("branches.json").innerHTML).slice(0, 5).reverse()
9+
JSON.parse(document.getElementById("branches.json").innerHTML).filter(e=>e.status != "preview").slice(0, 5).reverse()
1010
.map(e => {
1111
return {
1212
...e,

0 commit comments

Comments
 (0)