Skip to content

Commit e8814aa

Browse files
Update src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx
Co-authored-by: Sobit Neupane <073bct543.sobit@pcampus.edu.np>
1 parent b922e51 commit e8814aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/workspace/workflows/WorkspaceWorkflowsPayerPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function WorkspaceWorkflowsPayerPage({route, policy, personalDetails, isLoadingR
168168
});
169169
}, [isDeletedPolicyEmployee, policy?.employeeList, policy?.owner]);
170170

171-
const shouldShowSearchInput = totalNumberOfEmployeesEitherOwnerOrAdmin.length > 8;
171+
const shouldShowSearchInput = totalNumberOfEmployeesEitherOwnerOrAdmin.length >= CONST.STANDARD_LIST_ITEM_LIMIT;
172172
const textInputLabel = shouldShowSearchInput ? translate('selectionList.findMember') : undefined;
173173

174174
return (

0 commit comments

Comments
 (0)