From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/3] ui: DataStoreList: remove datastores also from hash
Date: Fri, 13 Nov 2020 15:02:34 +0100 [thread overview]
Message-ID: <20201113140236.31570-1-d.csapak@proxmox.com> (raw)
Signed-off-by: Dominik Csapak <d.csapak@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
next reply other threads:[~2020-11-13 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-13 14:02 Dominik Csapak [this message]
2020-11-13 14:02 ` [pbs-devel] [PATCH proxmox-backup 2/3] ui: DataStoreList: show message when there are no datastores Dominik Csapak
2020-11-13 14:02 ` [pbs-devel] [PATCH proxmox-backup 3/3] ui: improve comment behaviour for datastore Summary Dominik Csapak
2020-11-16 16:00 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/3] ui: DataStoreList: remove datastores also from hash Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201113140236.31570-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox