From 76351f793a2464e11b98f3c6b7ab5e955a2d5a01 Mon Sep 17 00:00:00 2001 From: mpetrov Date: Thu, 7 Nov 2024 16:40:52 +0200 Subject: [PATCH] refactoring --- .../src/app/shared/pipe/milliseconds-to-time-string.pipe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/shared/pipe/milliseconds-to-time-string.pipe.ts b/ui-ngx/src/app/shared/pipe/milliseconds-to-time-string.pipe.ts index d00fd3f3fc..1774d70fcb 100644 --- a/ui-ngx/src/app/shared/pipe/milliseconds-to-time-string.pipe.ts +++ b/ui-ngx/src/app/shared/pipe/milliseconds-to-time-string.pipe.ts @@ -26,8 +26,8 @@ export class MillisecondsToTimeStringPipe implements PipeTransform { constructor(private translate: TranslateService) { } - transform(millseconds: number, shortFormat = false, onlyFirstDigit = false): string { - const { days, hours, minutes, seconds } = this.extractTimeUnits(millseconds); + transform(millSeconds: number, shortFormat = false, onlyFirstDigit = false): string { + const { days, hours, minutes, seconds } = this.extractTimeUnits(millSeconds); return this.formatTimeString(days, hours, minutes, seconds, shortFormat, onlyFirstDigit); }