Release v1.7.4 (#3472)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2024-11-26 14:47:40 -06:00
committed by GitHub
parent 71541029e7
commit 9a3063b7da
285 changed files with 2421 additions and 2434 deletions

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4172],{4172:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var s=n(65043),r=n(33097),u=n.n(r),c=n(25448),i=n(58661),l=n(89923),o=n(64159),a=n(21383),f=n(70579);const d=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:r,bucketEvent:d}=e;const p=(0,a.jL)(),[v,x]=(0,c.A)((()=>t(!0)),(e=>p((0,o.C9)(e))));if(!r)return null;return(0,f.jsx)(i.A,{title:"Delete Event",confirmText:"Delete",isOpen:n,titleIcon:(0,f.jsx)(l.xWY,{}),isLoading:v,onConfirm:()=>{if(null===d)return;const e=u()(d,"events",[]),t=u()(d,"prefix",""),n=u()(d,"suffix",""),s=e.reduce(((e,t)=>e.includes(t)?e:[...e,t]),[]);x("DELETE",`/api/v1/buckets/${r}/events/${d.arn}`,{events:s,prefix:t,suffix:n})},onClose:()=>t(!1),confirmationContent:(0,f.jsx)(s.Fragment,{children:"Are you sure you want to delete this event?"})})}},25448:(e,t,n)=>{n.d(t,{A:()=>u});var s=n(65043),r=n(20649);const u=(e,t)=>{const[n,u]=(0,s.useState)(!1);return[n,(n,s,c,i)=>{u(!0),r.A.invoke(n,s,c,i).then((t=>{u(!1),e(t)})).catch((e=>{u(!1),t(e)}))}]}}}]);
//# sourceMappingURL=4172.d98e6099.chunk.js.map