]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
status view: query and update pveInfoWidget too for now
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 18:30:28 +0000 (20:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 18:30:31 +0000 (20:30 +0200)
we may want to replace them someday, at least with an intermediate
widget xtype for unified querying, but it's only going through the
local descendant, which is not that bad size-wise, so don't care..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/panel/StatusView.js

index 0180fe91a051a96d7a363116ae6ba9535f18b7e3..4a60daeba0431db31c4b62ac753fc2a4df33a8a0 100644 (file)
@@ -97,8 +97,8 @@ Ext.define('Proxmox.panel.StatusView', {
        if (!success) {
            return; // do not update if store load was not successful
        }
-
        me.query('pmxInfoWidget').forEach(me.updateField, me);
+       me.query('pveInfoWidget').forEach(me.updateField, me);
 
        me.updateTitle(store);
     },