From b020114bb93b71a9b082a155000eb039cb22550a Mon Sep 17 00:00:00 2001 From: Alex Karpov Date: Wed, 9 Oct 2024 12:02:14 +0300 Subject: [PATCH] NAS-129168: Pool name appears modified on Manage Devices page. "AppsPool" shows as "Appspool" (#10822) --- src/app/pages/storage/modules/devices/devices.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/pages/storage/modules/devices/devices.component.ts b/src/app/pages/storage/modules/devices/devices.component.ts index 0614dfb9559..6f45b98b6f1 100644 --- a/src/app/pages/storage/modules/devices/devices.component.ts +++ b/src/app/pages/storage/modules/devices/devices.component.ts @@ -26,7 +26,6 @@ import { IxDetailsHeightDirective } from 'app/directives/details-height/details- import { RequiresRolesDirective } from 'app/directives/requires-roles/requires-roles.directive'; 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'; @@ -116,7 +115,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'); }