mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +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 }
|
pendingNumHWThreads = { from: 0, to: maxNumHWThreads }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user