import{u as n,jk as c,bx as u,r as d,j as t,L as i,d as x}from"./index-C1DmWO_C.js";import{J as f}from"./JobOverviewContent-DjYXCveA.js";import"./Project-CpwJZ-CK.js";import"./alertManagerConfig.selectors-B9ELaxCY.js";import"./index-Dub34MAX.js";import"./FileUploaderButton-BtxUzlTS.js";import"./zipObj-D8EtfWld.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-B3GPGppJ.js";import"./git-C8OLuEaG.js";import"./NoData-Y_e6mfNf.js";import"./useCopyToClipboard-v9FBn9Nz.js";import"./Anchor-DFXOcnPw.js";import"./Panel-Z-sMb6LN.js";import"./Deprecated-BQWZLUTP.js";import"./index-GabIfpNZ.js";import"./DateValue-CuEyJqPS.js";import"./CronSchedule-DcbtrNRK.js";import"./LabelValue-BcFtbPW0.js";import"./RunJobButtons-DDz4XNL0.js";import"./NotebookJobArgsCallout-7tIiXwQk.js";import"./ServiceAlertList-CzBjm52H.js";import"./index-BnHp_Wzf.js";import"./KubernetesProjectView-Bel69CN9.js";const q=()=>{const{id:e,jobName:m}=n(),{currentData:r,isLoading:s,isFetching:p,refetch:o}=c({pId:`${e}`,jobName:m});u(r==null?void 0:r.name);const a=d.useCallback(()=>{r&&o()},[r,o]);return s?t.jsx(i,{}):t.jsxs(x,{children:[p&&t.jsx(i,{}),r&&t.jsx(f,{data:r,onClickRefresh:a})]})};export{q as default};
