1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: project details page with branch statistics (resolve #242)

This commit is contained in:
Ferdinand Mütsch
2022-01-02 20:04:29 +01:00
parent bb0d0569fd
commit c2d3426bcd
15 changed files with 801 additions and 672 deletions

View File

@@ -8,6 +8,11 @@ function TimePicker({ fromDate, toDate, timeSelection }) {
fromDate: fromDate,
toDate: toDate,
timeSelection: timeSelection,
intervalLink(interval) {
const queryParams = new URLSearchParams(window.location.search)
queryParams.set('interval', interval)
return `summary?${queryParams.toString()}`
},
onDateUpdated() {
document.getElementById('time-picker-form').submit()
},