mirror of
https://github.com/strapi/strapi.git
synced 2025-09-09 16:47:06 +00:00
deleted a comment
This commit is contained in:
parent
a94929d2db
commit
5ce9d2c209
@ -200,28 +200,6 @@ function ListView() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// const handleSelectAllCheckbox = () => {
|
|
||||||
// const webhooksIds = webhooks.map(webhook => webhook.id);
|
|
||||||
|
|
||||||
// if (webhooksToDelete.length === 0) {
|
|
||||||
// webhooksIds.forEach(webhookId => {
|
|
||||||
// dispatch({
|
|
||||||
// type: 'SET_WEBHOOKS_TO_DELETE',
|
|
||||||
// value: true,
|
|
||||||
// id: webhookId,
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
// } else {
|
|
||||||
// webhooksIds.forEach(webhookId => {
|
|
||||||
// dispatch({
|
|
||||||
// type: 'SET_WEBHOOKS_TO_DELETE',
|
|
||||||
// value: false,
|
|
||||||
// id: webhookId,
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
|
|
||||||
const handleSelectAllCheckbox = () => {
|
const handleSelectAllCheckbox = () => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'SET_ALL_WEBHOOKS_TO_DELETE',
|
type: 'SET_ALL_WEBHOOKS_TO_DELETE',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user