import{d,m as i,R as y,c as a,a as _,f as o,w as n,o as t,n as f,g as s,av as h,j as k,aw as v,at as g,F as x,h as D}from"./index-18beffd6.js";import{u as C}from"./usePageTitle-5c97edcb.js";const J=d({__name:"Deployments",setup(w){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,V)=>{const u=_("p-layout-default");return t(),o(u,{class:"deployments"},{header:n(()=>[f(s(h))]),default:n(()=>[m.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{J as default};
