import{d,M as i,f as y,h as a,k as _,c as o,l as n,o as t,n as f,u as s,aP as k,m as h,aQ as v,aR as x,B as D,a as g}from"./index-gULJbqdd.js";import{u as B}from"./usePageTitle-HrbxxOEb.js";const N=d({__name:"Deployments",setup(C){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 B("Deployments"),(M,V)=>{const m=_("p-layout-default");return t(),o(m,{class:"deployments"},{header:n(()=>[f(s(k))]),default:n(()=>[u.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{N as default};
