mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-09-07 01:03:00 +02:00
Remove comments
This commit is contained in:
@@ -18,23 +18,11 @@
|
||||
let selectedHost = null, plot, fetching = false, error = null
|
||||
let selectedScope = minScope(scopes)
|
||||
let selectedScopeIndex = scopes.findIndex(s => s == selectedScope)
|
||||
|
||||
// console.log('- Inputs -')
|
||||
// console.log(metricName)
|
||||
// console.log(scopes)
|
||||
// console.log(rawData)
|
||||
// console.log('- Prep Scopes -')
|
||||
// console.log(selectedScope)
|
||||
// console.log(selectedScopeIndex)
|
||||
|
||||
$: avaliableScopes = scopes
|
||||
$: data = rawData[selectedScopeIndex]
|
||||
$: series = data?.series.filter(series => selectedHost == null || series.hostname == selectedHost)
|
||||
|
||||
// console.log('- Prep Data -')
|
||||
// console.log(rawData[selectedScopeIndex])
|
||||
// console.log(rawData[selectedScopeIndex].series.filter(series => selectedHost == null || series.hostname == selectedHost))
|
||||
|
||||
let from = null, to = null
|
||||
export function setTimeRange(f, t) {
|
||||
from = f, to = t
|
||||
|
Reference in New Issue
Block a user