mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Fix storage graph (#19230)
Recordings usage was not being subtracted from "Other" storage usage stats
This commit is contained in:
parent
455423e7f2
commit
480072b22d
@ -62,8 +62,10 @@ export function CombinedStorageGraph({
|
||||
// Add the unused percentage to the series
|
||||
series.push({
|
||||
name: "Other",
|
||||
data: [(totalStorage.used / totalStorage.total) * 100],
|
||||
usage: totalStorage.used,
|
||||
data: [
|
||||
((totalStorage.used - totalStorage.camera) / totalStorage.total) * 100,
|
||||
],
|
||||
usage: totalStorage.used - totalStorage.camera,
|
||||
bandwidth: 0,
|
||||
color: (systemTheme || theme) == "dark" ? "#606060" : "#D5D5D5",
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user