From 8ae20e05bdd14d0d03f3c8361fe17e7c1627038b Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 7 Apr 2021 18:03:02 +0300 Subject: [PATCH] UI: Fixed incorrect calculate minIntervalLimit --- ui-ngx/src/app/core/services/time.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/core/services/time.service.ts b/ui-ngx/src/app/core/services/time.service.ts index 47c8d8a456..410b150e48 100644 --- a/ui-ngx/src/app/core/services/time.service.ts +++ b/ui-ngx/src/app/core/services/time.service.ts @@ -79,7 +79,7 @@ export class TimeService { public boundMinInterval(min: number): number { if (isDefined(min)) { - min = Math.floor(min / 1000) * 1000; + min = Math.ceil(min / 1000) * 1000; } return this.toBound(min, MIN_INTERVAL, MAX_INTERVAL, MIN_INTERVAL); }