import{u as n,l1 as c,bG as u,r as d,j as t,L as i,F as f}from"./index-DNBEEyYo.js";import{J as l}from"./JobOverviewContent-zjip_UMD.js";import"./Project-D_38ySn9.js";import"./alertManagerConfig.selectors-6Q6ry9ha.js";import"./defineProperty-9LKwahlh.js";import"./HumanizedCronExpression-Cc3xtXqn.js";import"./index-DivQJV92.js";import"./form-nDhxPMre.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-lQ_DaX5E.js";import"./index-Burx7Ja_.js";import"./git-BLdzamrJ.js";import"./useCopyToClipboard-BnywFRQi.js";import"./Panel-LhPx0w--.js";import"./Deprecated-DmDD0-tM.js";import"./index-bIvQJs1X.js";import"./DateValue-DxrJEAHH.js";import"./CronSchedule-C0Zd0yx3.js";import"./LabelValue-IAA3SRmC.js";import"./RunJobButtons-zj5UYu-m.js";import"./NotebookJobArgsCallout-D6jvm89Q.js";import"./ServiceAlertList-BGZarpuB.js";import"./index-DilfZ0pz.js";import"./KubernetesProjectView-q2FZ4sWq.js";const q=()=>{const{id:e,jobName:s}=n(),{currentData:r,isLoading:m,isFetching:p,refetch:o}=c({pId:`${e}`,jobName:s},{refetchOnFocus:!0});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(l,{data:r,onClickRefresh:a})]})};export{q as default};
