[pbs-devel] [PATCH proxmox-backup] ui: tape/TapeInventory: set defaultValue for pool to ''
    Dominik Csapak 
    d.csapak at proxmox.com
       
    Thu Feb 18 09:26:44 CET 2021
    
    
  
otherwise the grouping feature of the grid gets confused as it encounters
undefined values
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/TapeInventory.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www/tape/TapeInventory.js b/www/tape/TapeInventory.js
index 7f9a2aa5..fbcb6262 100644
--- a/www/tape/TapeInventory.js
+++ b/www/tape/TapeInventory.js
@@ -9,7 +9,10 @@ Ext.define('pbs-model-tapes', {
 	'media-set-ctime',
 	'media-set-name',
 	'media-set-uuid',
-	'pool',
+	{
+	    name: 'pool',
+	    defaultValue: '',
+	},
 	'seq-nr',
 	'status',
 	'uuid',
-- 
2.20.1
    
    
More information about the pbs-devel
mailing list