[pve-devel] [PATCH v2 manager 06/20] remove the now unnecessary grouping by content type

Fabian Ebner f.ebner at proxmox.com
Wed Sep 16 14:50:27 CEST 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

Changes from v1:
    * also remove the groupField in store

 www/manager6/storage/ContentView.js | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/www/manager6/storage/ContentView.js b/www/manager6/storage/ContentView.js
index eb101635..9a6c6c7a 100644
--- a/www/manager6/storage/ContentView.js
+++ b/www/manager6/storage/ContentView.js
@@ -372,12 +372,6 @@ Ext.define('PVE.storage.ContentView', {
 	trackOver: false,
 	loadMask: false
     },
-    features: [
-	{
-	    ftype: 'grouping',
-	    groupHeaderTpl: '{name} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})'
-	}
-    ],
     initComponent : function() {
 	var me = this;
 
@@ -399,7 +393,6 @@ Ext.define('PVE.storage.ContentView', {
 	var baseurl = "/nodes/" + nodename + "/storage/" + storage + "/content";
 	var store = Ext.create('Ext.data.Store',{
 	    model: 'pve-storage-content',
-	    groupField: 'content',
 	    proxy: {
                 type: 'proxmox',
 		url: '/api2/json' + baseurl,
-- 
2.20.1






More information about the pve-devel mailing list