diff --git a/src/app/pages/system/general-settings/support/sys-info/sys-info.component.html b/src/app/pages/system/general-settings/support/sys-info/sys-info.component.html index 67d1ebe52d8..0077d2690d9 100644 --- a/src/app/pages/system/general-settings/support/sys-info/sys-info.component.html +++ b/src/app/pages/system/general-settings/support/sys-info/sys-info.component.html @@ -36,7 +36,7 @@
{{ 'Model' | translate }}: - {{ systemInfo().model }} + {{ licenseInfo().model || systemInfo().model }}
@if (systemInfo().system_serial) {
diff --git a/src/app/pages/system/general-settings/support/sys-info/sys-info.component.spec.ts b/src/app/pages/system/general-settings/support/sys-info/sys-info.component.spec.ts index 52314a2e901..9a88af2ccd1 100644 --- a/src/app/pages/system/general-settings/support/sys-info/sys-info.component.spec.ts +++ b/src/app/pages/system/general-settings/support/sys-info/sys-info.component.spec.ts @@ -14,6 +14,7 @@ describe('SysInfoComponent', () => { const licenseInfo = { customer_name: 'iXsystems Inc.', features: ['DEDUP', 'FIBRECHANNEL', 'VM'], + model: 'M60', contract_type: 'GOLD', expiration_date: '2022-06-10', daysLeftinContract: -4, @@ -67,7 +68,7 @@ describe('SysInfoComponent', () => { expect(sysInfoBlock).not.toBeTruthy(); expect(infoRows).toEqual({ 'Customer Name:': licenseInfo.customer_name, - 'Model:': systemInfo.model, + 'Model:': licenseInfo.model, 'Licensed Serials:': licenseInfo.system_serial, 'System Serial:': systemInfo.system_serial, 'Features:': licenseInfo.features.join(', '),