]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: fix blinking subscription info panel
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 5 Apr 2019 11:02:45 +0000 (13:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Apr 2019 11:34:18 +0000 (13:34 +0200)
not having a subscription trumps having mixed subscriptions, so we
check that correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/dc/Summary.js

index 55a76bf04cf4fbffbb3858601b9233edecaec076..6254395bd70472c7dcff1499551f581d4b2c2d47 100644 (file)
@@ -229,7 +229,7 @@ Ext.define('PVE.dc.Summary', {
                }
 
                curlevel = records[i].get('level');
-               if (level === undefined) {
+               if (level === undefined || !curlevel) {
                    level = curlevel;
                    continue;
                }