import{d,M as i,f as y,g as a,c as o,j as n,l as _,o as t,n as f,u as s,aP as k,m as g,aQ as h,aR as v,F as x,a as D}from"./index-bJiZR03d.js";import{u as C}from"./usePageTitle-wT6f1BZv.js";const w=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"),(M,V)=>{const m=_("p-layout-default");return t(),o(m,{class:"deployments"},{header:n(()=>[f(s(k))]),default:n(()=>[u.value?(t(),g(x,{key:0},[r.value?(t(),o(s(h),{key:0})):(t(),o(s(v),{key:1,onDelete:s(e).refresh},null,8,["onDelete"]))],64)):D("",!0)]),_:1})}}});export{w as default};
