mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-14 02:37:25 +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