From 4f5d2a6dc986d84131d0de735daea3f3fd19afdd Mon Sep 17 00:00:00 2001 From: bugclerk <40872210+bugclerk@users.noreply.github.com> Date: Mon, 14 Oct 2024 01:40:58 -0700 Subject: [PATCH] NAS-129168: Pool name appears modified on Manage Devices page. "AppsPool" shows as "Appspool" (#10859) (cherry picked from commit 4954c193cbd192dbdad98de96eaa0d7f8c8f6485) Co-authored-by: Alex Karpov --- .../modules/devices/components/devices/devices.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/pages/storage/modules/devices/components/devices/devices.component.ts b/src/app/pages/storage/modules/devices/components/devices/devices.component.ts index e772ed85038..af4ef4668ce 100644 --- a/src/app/pages/storage/modules/devices/components/devices/devices.component.ts +++ b/src/app/pages/storage/modules/devices/components/devices/devices.component.ts @@ -19,7 +19,6 @@ import { Observable } from 'rxjs'; import { filter, map } from 'rxjs/operators'; import { Role } from 'app/enums/role.enum'; import { TopologyItemType } from 'app/enums/v-dev-type.enum'; -import { stringToTitleCase } from 'app/helpers/string-to-title-case'; import { WINDOW } from 'app/helpers/window.helper'; import { DeviceNestedDataNode, isVdevGroup } from 'app/interfaces/device-nested-data-node.interface'; import { Disk } from 'app/interfaces/disk.interface'; @@ -74,7 +73,7 @@ export class DevicesComponent implements OnInit, AfterViewInit { get pageTitle(): string { return this.poolName - ? this.translate.instant('{name} Devices', { name: stringToTitleCase(this.poolName) }) + ? this.translate.instant('{name} Devices', { name: this.poolName }) : this.translate.instant('Devices'); }