Skip to content

Commit

Permalink
fix(xo-web/self): remove unit in CPU usage total count (#7894)
Browse files Browse the repository at this point in the history
Introduced by #7353
  • Loading branch information
pdonias authored Aug 6, 2024
1 parent 4d76825 commit e750a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -32,5 +34,6 @@
<!--packages-start-->

- xo-server minor
- xo-web patch

<!--packages-end-->
2 changes: 1 addition & 1 deletion packages/xo-web/src/common/resource-set-quotas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})}
</p>
Expand Down

0 comments on commit e750a66

Please sign in to comment.