mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-25 20:02:46 +01:00
Solve issue : https://github.com/umami-software/umami/issues/2358
This commit is contained in:
parent
4c599fa435
commit
423dfbb546
@ -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