From 5a34f3f7e4a179782c89a328289979b7d198b58e Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Thu, 25 Jan 2024 11:59:20 +0300 Subject: [PATCH] Add option to batch remove members from whitelists --- pages/contracts/whitelist/execute.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/contracts/whitelist/execute.tsx b/pages/contracts/whitelist/execute.tsx index f1023bc..44d4f32 100644 --- a/pages/contracts/whitelist/execute.tsx +++ b/pages/contracts/whitelist/execute.tsx @@ -79,7 +79,7 @@ const WhitelistExecutePage: NextPage = () => { const showLimitState = isEitherType(type, ['update_per_address_limit', 'increase_member_limit']) const showTimestamp = isEitherType(type, ['update_start_time', 'update_end_time']) - const showMemberList = isEitherType(type, ['add_members']) + const showMemberList = isEitherType(type, ['add_members', 'remove_members']) const showFlexMemberList = isEitherType(type, ['add_members']) const showRemoveMemberList = isEitherType(type, ['remove_members']) const showAdminList = isEitherType(type, ['update_admins']) @@ -278,7 +278,11 @@ const WhitelistExecutePage: NextPage = () => { subtitle={type === 'update_admins' ? 'Enter the admin addresses' : 'Enter the member addresses'} title="Addresses" /> - + You may optionally choose a text file of additional member addresses.