]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fixup! ui: repo status: code cleanup/refactoring
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 21:58:02 +0000 (23:58 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 21:58:02 +0000 (23:58 +0200)
src/node/APTRepositories.js

index 5c1091b46758f555bb981606a39c8cf761c30f24..814f03f11077e2d45d04396c82e84d3ddad54dd7 100644 (file)
@@ -448,7 +448,7 @@ Ext.define('Proxmox.node.APTRepositories', {
            let addGood = message => store.add({ status: 'good', message });
 
            let addWarn = message => {
-               if (status === 'good') {
+               if (status !== 'critical') {
                    status = 'warning';
                    text = message;
                }