mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-09 21:13:08 +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 addGood = message => store.add({ status: 'good', message });
|
||||||
|
|
||||||
let addWarn = message => {
|
let addWarn = message => {
|
||||||
if (status === 'good') {
|
if (status !== 'critical') {
|
||||||
status = 'warning';
|
status = 'warning';
|
||||||
text = message;
|
text = message;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user