import{u as n,jC as c,bw as u,r as d,j as t,D as i,L as f}from"./index-46ma1THH.js";import{J as j}from"./JobOverviewContent-B92TNQIf.js";import"./Project-DqNODNns.js";import"./alertManagerConfig.selectors-ByceE4ck.js";import"./complement-Cl658Mix.js";import"./index-CcWUz40c.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-Bbf2VNbK.js";import"./git-BLdzamrJ.js";import"./useCopyToClipboard-B8vQLvqE.js";import"./Anchor-VqM1KJ3L.js";import"./Panel-CnxQ3Lqy.js";import"./Deprecated-CcWZugSq.js";import"./index-DoAo8g_G.js";import"./DateValue-DZGUc2od.js";import"./CronSchedule-DN0xG5ja.js";import"./LabelValue-BwjawF6m.js";import"./RunJobButtons-BrwusW96.js";import"./NotebookJobArgsCallout-D89NQ2Z8.js";import"./ServiceAlertList-BRlmr1Cp.js";import"./index-BOKQPbnb.js";import"./KubernetesProjectView-C1axEtBt.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(f,{children:[p&&t.jsx(i,{}),r&&t.jsx(j,{data:r,onClickRefresh:a})]})};export{Q as default};
