remove width tags from slot defs

This commit is contained in:
Christoph Kluge 2024-10-08 15:26:09 +02:00
parent 89ec749172
commit f616c7e1c6
3 changed files with 0 additions and 6 deletions

View File

@ -351,7 +351,6 @@
{:else if $initq?.data && $jobMetrics?.data?.jobMetrics} {:else if $initq?.data && $jobMetrics?.data?.jobMetrics}
<PlotGrid <PlotGrid
let:item let:item
let:width
renderFor="job" renderFor="job"
items={orderAndMap( items={orderAndMap(
groupByScope($jobMetrics.data.jobMetrics), groupByScope($jobMetrics.data.jobMetrics),
@ -369,7 +368,6 @@
nativeScope={$initq.data.globalMetrics.find((gm) => gm.name == item.metric)?.scope} nativeScope={$initq.data.globalMetrics.find((gm) => gm.name == item.metric)?.scope}
rawData={item.data.map((x) => x.metric)} rawData={item.data.map((x) => x.metric)}
scopes={item.data.map((x) => x.scope)} scopes={item.data.map((x) => x.scope)}
{width}
isShared={$initq.data.job.exclusive != 1} isShared={$initq.data.job.exclusive != 1}
/> />
{:else} {:else}

View File

@ -189,7 +189,6 @@
{:else} {:else}
<PlotGrid <PlotGrid
let:item let:item
let:width
renderFor="node" renderFor="node"
itemsPerRow={ccconfig.plot_view_plotsPerRow} itemsPerRow={ccconfig.plot_view_plotsPerRow}
items={$nodeMetricsData.data.nodeMetrics[0].metrics items={$nodeMetricsData.data.nodeMetrics[0].metrics
@ -209,7 +208,6 @@
</h4> </h4>
{#if item.disabled === false && item.metric} {#if item.disabled === false && item.metric}
<MetricPlot <MetricPlot
{width}
height={300} height={300}
metric={item.name} metric={item.name}
timestep={item.metric.timestep} timestep={item.metric.timestep}

View File

@ -175,7 +175,6 @@
{:else} {:else}
<PlotGrid <PlotGrid
let:item let:item
let:width
renderFor="systems" renderFor="systems"
itemsPerRow={ccconfig.plot_view_plotsPerRow} itemsPerRow={ccconfig.plot_view_plotsPerRow}
items={$nodesQuery.data.nodeMetrics items={$nodesQuery.data.nodeMetrics
@ -209,7 +208,6 @@
</h4> </h4>
{#if item.disabled === false && item.data} {#if item.disabled === false && item.data}
<MetricPlot <MetricPlot
{width}
height={plotHeight} height={plotHeight}
timestep={item.data.metric.timestep} timestep={item.data.metric.timestep}
series={item.data.metric.series} series={item.data.metric.series}