mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Correct default values when switching clusters
This commit is contained in:
parent
2146fccaae
commit
dbd2b491ed
@ -59,7 +59,7 @@
|
||||
}
|
||||
|
||||
$: {
|
||||
if (isOpen && $initialized && pendingNumHWThreads.from == null && pendingNumHWThreads.to == null) {
|
||||
if (isOpen && $initialized && ((pendingNumHWThreads.from == null && pendingNumHWThreads.to == null) || (isHwthreadsModified == false))) {
|
||||
pendingNumHWThreads = { from: 0, to: maxNumHWThreads }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user