diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 03aaff8232f..e0819a14642 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -15,6 +15,8 @@ > Users must be able to say: “I had this issue, happy to know it's fixed” +- [Self] Remove unit in CPU usage total count (PR [#7894](https://github.com/vatesfr/xen-orchestra/pull/7894)) + ### Packages to release > When modifying a package, add it here with its release type. @@ -32,5 +34,6 @@ - xo-server minor +- xo-web patch diff --git a/packages/xo-web/src/common/resource-set-quotas.js b/packages/xo-web/src/common/resource-set-quotas.js index b7f2996eaff..9e25c24c97c 100644 --- a/packages/xo-web/src/common/resource-set-quotas.js +++ b/packages/xo-web/src/common/resource-set-quotas.js @@ -110,7 +110,7 @@ export default class ResourceSetQuotas extends Component { usage: validFormat ? quota.usage?.toString() : formatSize(quota.usage), }) : _('resourceSetQuota', { - total: formatSize(quota.total), + total: validFormat ? quota.total?.toString() : formatSize(quota.total), usage: validFormat ? quota.usage?.toString() : formatSize(quota.usage), })}