From 23ec8503b7bc272a057d3fdc8c210376633958c9 Mon Sep 17 00:00:00 2001 From: Aldo Canepa Garay <87341702+aldo-expensify@users.noreply.github.com> Date: Wed, 25 Sep 2024 18:42:48 -0700 Subject: [PATCH] Merge pull request #49760 from Expensify/aldo_revert-style-change [CP Staging] Fix style change (cherry picked from commit de984f791865ed70bb5fd0d9b0c8689590fd594a) (CP triggered by AndrewGable) --- src/pages/workspace/WorkspaceMembersPage.tsx | 46 +++++++++----------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/src/pages/workspace/WorkspaceMembersPage.tsx b/src/pages/workspace/WorkspaceMembersPage.tsx index a3fc5efc1346..b5d7310dadf2 100644 --- a/src/pages/workspace/WorkspaceMembersPage.tsx +++ b/src/pages/workspace/WorkspaceMembersPage.tsx @@ -536,31 +536,27 @@ function WorkspaceMembersPage({personalDetails, route, policy, currentUserPerson if (!isPolicyAdmin) { return null; } - return ( - - {(shouldUseNarrowLayout ? canSelectMultiple : selectedEmployees.length > 0) ? ( - - shouldAlwaysShowDropdownMenu - pressOnEnter - customText={translate('workspace.common.selected', {selectedNumber: selectedEmployees.length})} - buttonSize={CONST.DROPDOWN_BUTTON_SIZE.MEDIUM} - onPress={() => null} - options={getBulkActionsButtonOptions()} - isSplitButton={false} - style={[shouldUseNarrowLayout && styles.flexGrow1, shouldUseNarrowLayout && styles.mb3]} - isDisabled={!selectedEmployees.length} - /> - ) : ( -