import{u as n,jE as c,bx as u,r as d,j as t,D as i,L as x}from"./index-ljTaFLaB.js";import{J as f}from"./JobOverviewContent-Dwb72ko0.js";import"./Project-BXqiQm5O.js";import"./alertManagerConfig.selectors-DirIHxFq.js";import"./complement-DcmnDjwS.js";import"./index-WyeuJRlK.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-Chhazvqc.js";import"./git-BLdzamrJ.js";import"./useCopyToClipboard-CNgp2sLY.js";import"./Anchor-Cg_B9iW8.js";import"./Panel-mILL570q.js";import"./Deprecated-D_iwBiXP.js";import"./index-Bqq8CaP2.js";import"./DateValue-Bx_QCfE0.js";import"./CronSchedule-CCaI0mbZ.js";import"./LabelValue-DruUvpiO.js";import"./RunJobButtons-BsCa9nZJ.js";import"./NotebookJobArgsCallout-CfSfee8D.js";import"./ServiceAlertList-DPC1ApKd.js";import"./index-CFrWJVZR.js";import"./KubernetesProjectView-Dg2B5_rl.js";const Q=()=>{const{id:e,jobName:s}=n(),{currentData:r,isLoading:m,isFetching:p,refetch:o}=c({pId:`${e}`,jobName:s});u(r==null?void 0:r.name);const a=d.useCallback(()=>{r&&o()},[r,o]);return m?t.jsx(i,{}):t.jsxs(x,{children:[p&&t.jsx(i,{}),r&&t.jsx(f,{data:r,onClickRefresh:a})]})};export{Q as default};
