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" (#10859)

(cherry picked from commit 4954c19)

Co-authored-by: Alex Karpov <[email protected]>
  • Loading branch information
bugclerk and AlexKarpov98 authored Oct 14, 2024
1 parent a0a7f96 commit 4f5d2a6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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');
}

Expand Down

0 comments on commit 4f5d2a6

Please sign in to comment.