import{d,ao as i,j as s,c as a,w as n,r as y,o,a as _,u as e,aW as f,l as h,aX as k,aU as x,G as D,m as g}from"./index-4d9fe32c-718dc5d9.js";import{c as C}from"./vue-compositions-55710141.js";import{u as v}from"./usePageTitle-e8e2e29d.js";const V=d({__name:"Deployments",setup(B){const c=i(),l={interval:3e4},t=C(c.deployments.getDeployments,[{}],l),r=s(()=>t.response??[]),p=s(()=>t.executed&&r.value.length===0),m=s(()=>t.executed);return v("Deployments"),(b,w)=>{const u=y("p-layout-default");return o(),a(u,{class:"deployments"},{header:n(()=>[_(e(f))]),default:n(()=>[e(m)?(o(),h(D,{key:0},[e(p)?(o(),a(e(k),{key:0})):(o(),a(e(x),{key:1,onDelete:e(t).refresh},null,8,["onDelete"]))],64)):g("",!0)]),_:1})}}});export{V as default};
