This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/routes/CreateNewTeam/components
NoMatchingProfilesResultCard Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,18 @@ function NoMatchingProfilesResultCard({ role }) {
25
25
We will be looking internally for members matching your requirements
26
26
and be back at them in about 2 weeks.
27
27
</ p >
28
- { role && (
28
+ { role . rates && role . name ? (
29
29
< div styleName = "niche-rate-box" >
30
30
< p > { role . name } Rate</ p >
31
31
< p styleName = "cost" > { formatMoney ( role . rates [ 0 ] . global ) } </ p >
32
32
< p > /Week</ p >
33
33
</ div >
34
+ ) : (
35
+ < div styleName = "niche-rate-box" >
36
+ < p > Custom Rate</ p >
37
+ < p styleName = "cost" > $1,200</ p >
38
+ < p > /Week</ p >
39
+ </ div >
34
40
) }
35
41
< Link to = "/taas/myteams/createnewteam" >
36
42
< Button type = "secondary" styleName = "button" >
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function SearchContainer({
90
90
isDisabled = {
91
91
isCompletenessDisabled ||
92
92
searchState === "searching" ||
93
- ( searchState === "done" && ! matchingRole )
93
+ ( searchState === "done" && isCustomRole ( matchingRole ) )
94
94
}
95
95
onClick = { searchState ? onSubmit : search }
96
96
extraStyleName = { completenessStyle }
You can’t perform that action at this time.
0 commit comments