import{d as i,o as p,j as r,g as a,L as m,q as e,Y as n}from"./index-DRe7Uehz.js";import{C as f}from"./ClusterGroupForm-Blu4hAIq.js";import"./index.esm-9c567zNd.js";import"./clusterGroups-BDlB7k_L.js";import"./ItemName-CpbRx72z.js";import"./ResourceLink-DsyYS3_L.js";import"./ResourceIcon-iakkHkJJ.js";import"./SelectableMainTable-OcbCdGGs.js";import"./NotificationRow-DDCUSSQc.js";import"./BaseLayout-uhDucFhR.js";import"./AutoExpandingTextArea-CM-5O8_l.js";const G=()=>{const u=i.useNotify(),{group:o}=p();if(!o)return r.jsx(r.Fragment,{children:"Missing groupName"});const{data:t,error:s}=a({queryKey:[e.cluster,e.groups,o],queryFn:()=>n(o)});return s&&u.failure("Loading cluster group failed",s),t?r.jsx(f,{group:t}):r.jsx(m,{})};export{G as default};
