import{d as a,m as i,j as r,f as p,L as m,q as e,Q as n}from"./index-3c1b2661.js";import{C as f}from"./ClusterGroupForm-0d4e7054.js";import"./index.esm-7989c879.js";import"./updateMaxHeight-4e644a5f.js";import"./clusterGroups-0eee60fc.js";import"./SelectableMainTable-825decd1.js";import"./AutoExpandingTextArea-38ef4775.js";const q=()=>{const u=a.useNotify(),{group:s}=i();if(!s)return r.jsx(r.Fragment,{children:"Missing groupName"});const{data:o,error:t}=p({queryKey:[e.cluster,e.groups,s],queryFn:()=>n(s)});return t&&u.failure("Loading cluster group failed",t),o?r.jsx(f,{group:o}):r.jsx(m,{})};export{q as default};
