ui: DataStoreList: remove datastores also from hash

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-11-13 15:02:34 +01:00 committed by Thomas Lamprecht
parent c9097ff801
commit 76f549debb

View File

@ -84,6 +84,7 @@ Ext.define('PBS.datastore.DataStoreList', {
for (const [store, panel] of Object.entries(me.datastores)) {
if (!found[store]) {
me.remove(panel);
delete me.datastores[store];
}
}
},