Skip to content

Commit

Permalink
NAS-129168: Pool name appears modified on Manage Devices page. "AppsP…
Browse files Browse the repository at this point in the history
…ool" shows as "Appspool" (#10822)
  • Loading branch information
AlexKarpov98 authored Oct 9, 2024
1 parent 8063414 commit b020114
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/pages/storage/modules/devices/devices.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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');
}

Expand Down

0 comments on commit b020114

Please sign in to comment.