mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +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 { num, unit } = selectedUnit;
|
||||||
|
|
||||||
const sub = num * increment;
|
const sub = Math.abs(num) * increment;
|
||||||
|
|
||||||
switch (unit) {
|
switch (unit) {
|
||||||
case 'hour':
|
case 'hour':
|
||||||
|
Loading…
Reference in New Issue
Block a user