summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0c15c08)
at least if we have a unit state (atm only PVE and PMG report that)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
restart_btn.enable();
start_btn.disable();
}
restart_btn.enable();
start_btn.disable();
}
- } else if (unit !== undefined && (unit === 'masked' || unit === 'unknown')) {
+ } else if (unit !== undefined && (unit === 'masked' || unit === 'unknown' || unit === 'not-found')) {
start_btn.disable();
restart_btn.disable();
start_btn.disable();
restart_btn.disable();
} else {
start_btn.enable();
stop_btn.disable();
} else {
start_btn.enable();
stop_btn.disable();