import{d,M as i,Y as y,e as a,c as o,i as n,j as _,o as t,m as f,u as s,aO as k,l as h,aP as v,aN as x,F as D,a as g}from"./index-bD6G21oH.js";import{u as C}from"./usePageTitle-27XdpEbQ.js";const M=d({__name:"Deployments",setup(b){const l=i(),c={interval:3e4},e=y(l.deployments.getDeployments,[{}],c),p=a(()=>e.response??[]),r=a(()=>e.executed&&p.value.length===0),m=a(()=>e.executed);return C("Deployments"),(B,N)=>{const u=_("p-layout-default");return t(),o(u,{class:"deployments"},{header:n(()=>[f(s(k))]),default:n(()=>[m.value?(t(),h(D,{key:0},[r.value?(t(),o(s(v),{key:0})):(t(),o(s(x),{key:1,onDelete:s(e).refresh},null,8,["onDelete"]))],64)):g("",!0)]),_:1})}}});export{M as default};
