]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/dc/Summary.js
gui: let users choose the number of columns
[pve-manager.git] / www / manager6 / dc / Summary.js
index aa460cfa6b50081a2776284ae84bbdcae865e9e7..5e613eb11743f04bb11aceff420c199f0e630364 100644 (file)
@@ -288,6 +288,13 @@ Ext.define('PVE.dc.Summary', {
            rstore.stopUpdate();
        });
 
+       me.mon(sp, 'statechange', function(provider, key, value) {
+           if (key !== 'summarycolumns') {
+               return;
+           }
+           PVE.Utils.updateColumns(me);
+       });
+
        rstore.startUpdate();
     }