Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit ddb943c

Browse files
committed
Merge branch 'dev' of https://github.com/topcoder-platform/taas-app into dev
2 parents 1313b50 + 6b04430 commit ddb943c

File tree

1 file changed

+3
-1
lines changed
  • src/routes/CreateNewTeam/components/InputContainer

1 file changed

+3
-1
lines changed

src/routes/CreateNewTeam/components/InputContainer/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function InputContainer({
1616
isCompletenessDisabled,
1717
toRender,
1818
search,
19+
onClick,
1920
completenessStyle,
2021
addedRoles,
2122
}) {
@@ -26,7 +27,7 @@ function InputContainer({
2627
<AddedRolesAccordion addedRoles={addedRoles} />
2728
<Completeness
2829
isDisabled={isCompletenessDisabled}
29-
onClick={search}
30+
onClick={onClick ? onClick: search}
3031
extraStyleName={completenessStyle}
3132
buttonLabel="Search"
3233
stages={stages}
@@ -41,6 +42,7 @@ InputContainer.propTypes = {
4142
stages: PT.array,
4243
isCompletenessDisabled: PT.bool,
4344
search: PT.func,
45+
onClick: PT.func,
4446
toRender: PT.func,
4547
completenessStyle: PT.string,
4648
addedRoles: PT.array,

0 commit comments

Comments
 (0)