import{aa as d,j as e,E as u,t as h,a9 as l}from"./app-BgLa5dit.js";function j(i){var o,r;const t=d(i.id),a=(r=(o=t.data)==null?void 0:o.assignees)==null?void 0:r.reduce((s,n)=>(n.assignee.username==="system.user"||(s[n.stage]=n.assignee),s),{}),c=Object.keys(a||{}).length>0;return e.jsx(u,{title:"Assignees",closePopup:i.closePopup,showLoadingSpinner:!t.hasCompleted,children:t.hasCompleted&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"pb-3",children:c?e.jsx("ul",{className:"m-0",children:Object.entries(a).map(([s,n])=>e.jsxs("li",{children:[e.jsxs("strong",{children:[h[s].label,":"]})," ",n.name]},s))}):e.jsx("div",{children:"This video had no assignees."})}),e.jsx(l,{children:e.jsx(l.Cancel,{text:"Close",variant:"dark",onClick:i.closePopup})})]})})}export{j as VideoAssigneesView};
//# sourceMappingURL=e5711Uux.chunk.js.map
