From fe787c8c126b38dd3d7646e5692cc8a45ed35ffd Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 2 Jul 2021 23:58:02 +0200 Subject: [PATCH] fixup! ui: repo status: code cleanup/refactoring --- src/node/APTRepositories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/APTRepositories.js b/src/node/APTRepositories.js index 5c1091b..814f03f 100644 --- a/src/node/APTRepositories.js +++ b/src/node/APTRepositories.js @@ -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; }