ui: tape/BackupOverview: skip tapes without media-set
there is no data on them (yet), even if they belong to a pool Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
f8e1932337
commit
32b88d928a
@ -50,6 +50,9 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
|
||||
continue; // pools not belonging to a pool cannot contain data
|
||||
}
|
||||
let media_set = entry['media-set-name'];
|
||||
if (media_set === undefined) {
|
||||
continue; // tape does not belong to media-set (yet))
|
||||
}
|
||||
if (data[pool] === undefined) {
|
||||
data[pool] = {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user