mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
hide 0 capacity drives
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user