import{d as i,o as p,j as r,g as a,L as m,q as e,Y as n}from"./index-Cziemgsu.js";import{C as f}from"./ClusterGroupForm-Bnnfb_6G.js";import"./index.esm-dDZ7-lOE.js";import"./clusterGroups-DtRUlhXg.js";import"./ItemName-CywOV74d.js";import"./ResourceLink-D2AYI_En.js";import"./ResourceIcon-DRRIqKSs.js";import"./SelectableMainTable-Bul84dX0.js";import"./NotificationRow-BJRTvUVl.js";import"./BaseLayout-7LTMOawH.js";import"./AutoExpandingTextArea-Bc4N4lSt.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};
