Format cleanup

This commit is contained in:
Christoph Kluge
2023-05-12 11:19:37 +02:00
parent 23e485afce
commit 96e4448505
6 changed files with 80 additions and 78 deletions

View File

@@ -25,19 +25,20 @@
let w1, w2, histogramHeight = 250
let selectedCluster = filterPresets?.cluster ? filterPresets.cluster : null
const client = getContextClient();
$: stats = queryStore({
client: getContextClient(),
client: client,
query: gql`
query($filters: [JobFilter!]!) {
jobsStatistics(filter: $filters) {
totalJobs
shortJobs
totalWalltime
totalCoreHours
histDuration { count, value }
histNumNodes { count, value }
}}`,
variables: { filters },
query($filters: [JobFilter!]!) {
jobsStatistics(filter: $filters) {
totalJobs
shortJobs
totalWalltime
totalCoreHours
histDuration { count, value }
histNumNodes { count, value }
}}`,
variables: { filters }
})
$: selectedCluster = filters[0]?.cluster ? filters[0].cluster.eq : null