import{d as i,o as p,j as r,g as a,L as m,q as e,Y as n}from"./index-CzUo07dn.js";import{C as f}from"./ClusterGroupForm-Ma787rvE.js";import"./index.esm-BBoKC3tX.js";import"./clusterGroups-DoorAX9j.js";import"./ItemName-BD8ROnMM.js";import"./ResourceLink-5fvv3Myt.js";import"./ResourceIcon-CQum9kVZ.js";import"./SelectableMainTable-1U_EJECQ.js";import"./NotificationRow-IVGrYQV6.js";import"./BaseLayout-D6pt0Et9.js";import"./AutoExpandingTextArea-DbenJele.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};
