Skip to content

Commit

Permalink
Skip preview branch in the timeline charts on downloads/branches/
Browse files Browse the repository at this point in the history
  • Loading branch information
gotoken authored and hsbt committed Aug 28, 2023
1 parent 952d4e6 commit fb73638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/branch-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function drawChart() {
const source =
JSON.parse(document.getElementById("branches.json").innerHTML).slice(0, 5).reverse()
JSON.parse(document.getElementById("branches.json").innerHTML).filter(e=>e.status != "preview").slice(0, 5).reverse()
.map(e => {
return {
...e,
Expand Down

0 comments on commit fb73638

Please sign in to comment.