webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js in foreman_webhooks-3.1.1 vs webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js in foreman_webhooks-3.2.0
- old
+ new
@@ -22,10 +22,11 @@
const dispatch = useDispatch();
const search = useSelector(selectSearch);
const [toDelete, setToDelete] = useState({});
+ const [toTest, setToTest] = useState({});
const [toEdit, setToEdit] = useState(0);
const {
setModalOpen: setCreateModalOpen,
setModalClosed: setCreateModalClosed,
@@ -53,9 +54,11 @@
fetchAndPush={params => dispatch(fetchAndPush(params))}
toDelete={toDelete}
setToDelete={setToDelete}
toEdit={toEdit}
setToEdit={setToEdit}
+ toTest={toTest}
+ setToTest={setToTest}
reloadWithSearch={query => dispatch(reloadWithSearch(query))}
/>
</TableIndexPage>
</>
);