[pve-devel] [PATCH manager 1/2] ui: fix blinking subscription info panel

Dominik Csapak d.csapak at proxmox.com
Fri Apr 5 13:02:45 CEST 2019


not having a subscription trumps having mixed subscriptions, so we
check that correctly

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/Summary.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/Summary.js b/www/manager6/dc/Summary.js
index 55a76bf0..6254395b 100644
--- a/www/manager6/dc/Summary.js
+++ b/www/manager6/dc/Summary.js
@@ -229,7 +229,7 @@ Ext.define('PVE.dc.Summary', {
 		}
 
 		curlevel = records[i].get('level');
-		if (level === undefined) {
+		if (level === undefined || !curlevel) {
 		    level = curlevel;
 		    continue;
 		}
-- 
2.11.0





More information about the pve-devel mailing list