Skip to content

Commit

Permalink
fix: fix daily commit legend issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 9, 2021
1 parent 3824f25 commit 511e9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/public/js/graph/git/commit-calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function renderCommitCalendar(data, elementId = "#commit-calendar") {
return d;
}
},
d3.select(elementId)
d3.select(elementId).append("svg")
)

let years = d3.groups(data, d => d.date.getUTCFullYear()).reverse();
Expand Down

0 comments on commit 511e9d2

Please sign in to comment.