import{d as l,k as p,c as _,i as o,j as m,o as d,l as e,m as n,cD as C,cE as h,cb as i,bo as c,M as b}from"./index-7qezL2zM.js";import{u as k}from"./usePageTitle-k72s0--o.js";const w=l({__name:"NotificationCreate",setup(x){const r=p();async function s(t){try{await r.notifications.createNotification(t),i.push(c.notifications())}catch(a){b("Error creating notification","error"),console.warn(a)}}function u(){i.push(c.notifications())}return k("Create Notification"),(t,a)=>{const f=m("p-layout-default");return d(),_(f,{class:"notification-create"},{header:o(()=>[e(n(C))]),default:o(()=>[e(n(h),{action:"Create",onSubmit:s,onCancel:u})]),_:1})}}});export{w as default};
//# sourceMappingURL=NotificationCreate-C-QyogQX.js.map
