[pbs-devel] [PATCH proxmox-backup 1/3] ui: DataStoreList: remove datastores also from hash

Dominik Csapak d.csapak at proxmox.com
Fri Nov 13 15:02:34 CET 2020


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/datastore/DataStoreList.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/datastore/DataStoreList.js b/www/datastore/DataStoreList.js
index 284a6340..607f49c5 100644
--- a/www/datastore/DataStoreList.js
+++ b/www/datastore/DataStoreList.js
@@ -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];
 	    }
 	}
     },
-- 
2.20.1






More information about the pbs-devel mailing list