hide 0 capacity drives

This commit is contained in:
Matt Hill
2026-03-26 08:13:19 -06:00
parent b7f7202e25
commit 9bc0fbd5b1

View File

@@ -44,7 +44,9 @@ export class BackupService {
this.drives.set(
Object.entries(targets)
.filter(([_, target]) => target.type === 'disk')
.filter(
([_, target]) => target.type === 'disk' && target.capacity > 0,
)
.map(([id, drive]) => {
return {
id,