{#key series} {#if $metricData?.fetching == true} {:else if error != null} {error.message} {:else if series != null && !patternMatches} { handleZoom(detail) }} cluster={job.cluster} subCluster={job.subCluster} timestep={data.timestep} scope={selectedScope} metric={metricName} {series} {isShared} {zoomState} {thresholdState} /> {:else if statsSeries[selectedScopeIndex] != null && patternMatches} { handleZoom(detail) }} cluster={job.cluster} subCluster={job.subCluster} timestep={data.timestep} scope={selectedScope} metric={metricName} {series} {isShared} {zoomState} {thresholdState} statisticsSeries={statsSeries[selectedScopeIndex]} useStatsSeries={!!statsSeries[selectedScopeIndex]} /> {/if} {/key}