import{u as n,jF as c,bx as u,r as d,j as t,D as i,L as x}from"./index-Cc-6WbPt.js";import{J as f}from"./JobOverviewContent-BaCdRc0k.js";import"./Project-BB6nGAyP.js";import"./alertManagerConfig.selectors-ob2Z93Rq.js";import"./complement-BOrTcrWV.js";import"./index-DeWhk8_Z.js";import"./useScreenWithScroll-zcr7TMGO.js";import"./symmetricDifference-FE3v46aY.js";import"./git-BLdzamrJ.js";import"./useCopyToClipboard-CGP_51ct.js";import"./Anchor-BpzIF9LH.js";import"./Panel-BCZwmXoJ.js";import"./Deprecated-BleiYoSW.js";import"./index-CC3RRZaQ.js";import"./DateValue-COYy-MTL.js";import"./CronSchedule-B6d05Q3A.js";import"./LabelValue-rs3xYf5e.js";import"./RunJobButtons-DS_YaKDh.js";import"./NotebookJobArgsCallout-BwGNRHMW.js";import"./ServiceAlertList-HPDSpEcK.js";import"./index-k6JxR6O9.js";import"./KubernetesProjectView-DZZIzK02.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};
