mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
fix(xo6): repair negative other value in backup repository dashboard (#10044)
This commit is contained in:
@@ -26,7 +26,7 @@ export const useXoSiteDashboard = defineRemoteResource({
|
||||
return {
|
||||
available: formatSizeRaw(dashboard.value.backupRepositories.other.size.available, 1),
|
||||
backups: formatSizeRaw(dashboard.value.backupRepositories.other.size.backups, 1),
|
||||
other: formatSizeRaw(dashboard.value.backupRepositories.other.size.other ?? 0, 1),
|
||||
other: formatSizeRaw(Math.max(0, dashboard.value.backupRepositories.other.size.other ?? 0), 1),
|
||||
total: formatSizeRaw(dashboard.value.backupRepositories.other.size.total, 1),
|
||||
used: formatSizeRaw(dashboard.value.backupRepositories.other.size.used ?? 0, 1),
|
||||
} as BackupRepositoriesFormatted
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
> Users must be able to say: "I had this issue, happy to know it's fixed"
|
||||
|
||||
- [XO6] Fix negative "other" value in backup repository dashboard (PR [#10044](https://github.com/vatesfr/xen-orchestra/pull/10044))
|
||||
|
||||
### Packages to release
|
||||
|
||||
> When modifying a package, add it here with its release type.
|
||||
@@ -31,4 +33,6 @@
|
||||
|
||||
<!--packages-start-->
|
||||
|
||||
- @xen-orchestra/web patch
|
||||
|
||||
<!--packages-end-->
|
||||
|
||||
Reference in New Issue
Block a user