From 5ce9d2c2092bbaebb6a2256e9cffb340ab9dbfb2 Mon Sep 17 00:00:00 2001 From: ronronscelestes Date: Tue, 17 Aug 2021 14:01:31 +0200 Subject: [PATCH] deleted a comment --- .../src/pages/Webhooks/ListView/index.js | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/packages/core/admin/admin/src/pages/Webhooks/ListView/index.js b/packages/core/admin/admin/src/pages/Webhooks/ListView/index.js index 02e6131430..ae3b3f6e65 100644 --- a/packages/core/admin/admin/src/pages/Webhooks/ListView/index.js +++ b/packages/core/admin/admin/src/pages/Webhooks/ListView/index.js @@ -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 = () => { dispatch({ type: 'SET_ALL_WEBHOOKS_TO_DELETE',