(params: any)
| 105 | setContentLoading(false) |
| 106 | } |
| 107 | const fetchActionData = async (params: any) => { |
| 108 | setContentLoading(true) |
| 109 | const res: any = await getActionsList(params) |
| 110 | const data = res.data.map((item: any) => { |
| 111 | return { |
| 112 | ...item, |
| 113 | key: item.action_id, |
| 114 | } |
| 115 | }) |
| 116 | setContentList(data) |
| 117 | setContentLoading(false) |
| 118 | } |
| 119 | return ( |
| 120 | <Modal onCancel={handleRetrievlCancel} centered className='collection-modal' width={1325} open={retrievalModal} closeIcon={<img src={closeIcon} alt="closeIcon" />} title={nameTitle} footer={[ |
| 121 | <div className='footer-group' style={{ display: 'flex', justifyContent: 'space-between' }} key='footer2'> |
no test coverage detected