Skip to content

Commit a49cde4

Browse files
committed
chore: cleanup code
Signed-off-by: Olivier Vernin <olivier@vernin.me>
1 parent 7c16f9a commit a49cde4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/scm/_filter.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,8 @@ export default {
567567
},
568568
569569
stepToDate(step) {
570-
const now = new Date(Date.now() + this.nowRefreshKey * 0)
570+
this.nowRefreshKey;
571+
const now = new Date(Date.now())
571572
const date = new Date(now)
572573
573574
if (step < 24) {

0 commit comments

Comments
 (0)