import{d,a as i,E as y,c as a,b as _,e as o,w as n,o as t,h as f,u as s,aM as h,g as k,aN as v,aK as g,F as x,f as D}from"./index-562c8470.js";import{u as C}from"./usePageTitle-ad3dbf10.js";const F=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),u=a(()=>e.executed);return C("Deployments"),(B,E)=>{const m=_("p-layout-default");return t(),o(m,{class:"deployments"},{header:n(()=>[f(s(h))]),default:n(()=>[u.value?(t(),k(x,{key:0},[r.value?(t(),o(s(v),{key:0})):(t(),o(s(g),{key:1,onDelete:s(e).refresh},null,8,["onDelete"]))],64)):D("",!0)]),_:1})}}});export{F as default};
