import{d as m,e as i,f as k,h as t,c as a,i as n,j as _,o,k as f,l as s,cZ as P,x as h,c_ as x,c$ as y,A as v,a as w}from"./index-CibiDZQv.js";import{u as g}from"./usePageTitle-DYAZWMh1.js";const W=m({__name:"WorkPools",setup(C){const r=i(),c={interval:3e4},e=k(r.workPools.getWorkPools,[{}],c),l=t(()=>e.response??[]),p=t(()=>e.executed&&l.value.length==0),u=t(()=>e.executed);return g("Work Pools"),(b,B)=>{const d=_("p-layout-default");return o(),a(d,{class:"work-pools"},{header:n(()=>[f(s(P))]),default:n(()=>[u.value?(o(),h(v,{key:0},[p.value?(o(),a(s(x),{key:0})):(o(),a(s(y),{key:1,onUpdate:s(e).refresh},null,8,["onUpdate"]))],64)):w("",!0)]),_:1})}}});export{W as default};
//# sourceMappingURL=WorkPools-D3AmT0WE.js.map
