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:
@@ -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()
|
||||
},
|
||||
|
Reference in New Issue
Block a user