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