From 94f563f1857ddf863d65e21e1280e510b23c79cf Mon Sep 17 00:00:00 2001 From: mpetrov Date: Thu, 7 Nov 2024 16:41:09 +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 1774d70fcb..de25f15514 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(milliSeconds: number, shortFormat = false, onlyFirstDigit = false): string { + const { days, hours, minutes, seconds } = this.extractTimeUnits(milliSeconds); return this.formatTimeString(days, hours, minutes, seconds, shortFormat, onlyFirstDigit); }