mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
remove logging, remove forced change to node scope
This commit is contained in:
parent
275a77807e
commit
4b1b34d8a7
@ -399,7 +399,7 @@
|
|||||||
init: [
|
init: [
|
||||||
(u) => {
|
(u) => {
|
||||||
u.over.addEventListener("dblclick", (e) => {
|
u.over.addEventListener("dblclick", (e) => {
|
||||||
console.log('Dispatch Reset')
|
// console.log('Dispatch Reset')
|
||||||
dispatch('zoom', {
|
dispatch('zoom', {
|
||||||
lastZoomState: {
|
lastZoomState: {
|
||||||
x: { time: false },
|
x: { time: false },
|
||||||
@ -455,7 +455,7 @@
|
|||||||
if (key === 'x') {
|
if (key === 'x') {
|
||||||
const numX = (u.series[0].idxs[1] - u.series[0].idxs[0])
|
const numX = (u.series[0].idxs[1] - u.series[0].idxs[0])
|
||||||
if (numX <= 20 && timestep !== 60) { // Zoom IN if not at MAX
|
if (numX <= 20 && timestep !== 60) { // Zoom IN if not at MAX
|
||||||
console.log('Dispatch Zoom')
|
// console.log('Dispatch Zoom')
|
||||||
if (timestep == 600) {
|
if (timestep == 600) {
|
||||||
dispatch('zoom', {
|
dispatch('zoom', {
|
||||||
newRes: 240,
|
newRes: 240,
|
||||||
@ -468,7 +468,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('Dispatch Update')
|
// console.log('Dispatch Update')
|
||||||
dispatch('zoom', {
|
dispatch('zoom', {
|
||||||
lastZoomState: u?.scales
|
lastZoomState: u?.scales
|
||||||
});
|
});
|
||||||
|
@ -117,13 +117,6 @@
|
|||||||
selectedScopes = [...scopes, "socket", "core", "accelerator"]
|
selectedScopes = [...scopes, "socket", "core", "accelerator"]
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((selectedResolution !== pendingResolution) && selectedScopes.length >= 2) {
|
|
||||||
selectedScope = String("node")
|
|
||||||
selectedScopes = ["node"]
|
|
||||||
// Instead of adding acc to load-all: always add by default if native is acc
|
|
||||||
// selectedScopes = nativeScope == "accelerator" ? ["node", "accelerator"] : ["node"]
|
|
||||||
}
|
|
||||||
|
|
||||||
selectedResolution = Number(pendingResolution)
|
selectedResolution = Number(pendingResolution)
|
||||||
|
|
||||||
metricData = queryStore({
|
metricData = queryStore({
|
||||||
|
Loading…
Reference in New Issue
Block a user