[pve-devel] [PATCH widget-toolkit] disk smart: fix non working smart value window

Lorenz Stechauner l.stechauner at proxmox.com
Fri May 14 09:16:10 CEST 2021


fix error in refactor from 7eb1fb18ad6a243953c4f554b95b195bac77e9ab

Reported in forum:
https://forum.proxmox.com/threads/gui-disks-tab-cant-showup-smart-values.89180/
https://forum.proxmox.com/threads/smart-values-bug-in-6-4-6.89179/

Signed-off-by: Lorenz Stechauner <l.stechauner at proxmox.com>
---
 src/window/DiskSmart.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window/DiskSmart.js b/src/window/DiskSmart.js
index ae4f3d9..6d35ea1 100644
--- a/src/window/DiskSmart.js
+++ b/src/window/DiskSmart.js
@@ -136,7 +136,7 @@ Ext.define('Proxmox.window.DiskSmart', {
 		    me.down('#text').setVisible(true);
 		} else {
 		    grid.setVisible(true);
-		    me.down('#textContainer').setVisible(false);
+		    me.down('#text').setVisible(false);
 		    grid.setStore(rec.attributes());
 		}
 	    }
-- 
2.20.1






More information about the pve-devel mailing list