parent
dd645aed68
commit
4197b61905
|
|
@ -154,7 +154,7 @@ class StorageCard extends Component
|
|||
$out = [];
|
||||
foreach ($defs as $d) {
|
||||
$val = max(0, (int)($bdBytes[$d['key']] ?? 0));
|
||||
if ($val < $this->legendMinBytes) continue; // zu klein → nicht anzeigen
|
||||
if ($val <= 0) continue; // zu klein → nicht anzeigen
|
||||
$out[] = [
|
||||
'label' => $d['label'],
|
||||
'color' => $d['class'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue