mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
commit
1e096c22a4
@ -194,7 +194,7 @@ export function incrementDateRange(value, increment) {
|
||||
|
||||
const { num, unit } = selectedUnit;
|
||||
|
||||
const sub = num * increment;
|
||||
const sub = Math.abs(num) * increment;
|
||||
|
||||
switch (unit) {
|
||||
case 'hour':
|
||||
|
Loading…
Reference in New Issue
Block a user