mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-09 05:10:31 +00:00
fixup! ui: repo status: code cleanup/refactoring
This commit is contained in:
parent
f411afb40c
commit
fe787c8c12
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user