Skip to content

Commit 52ec2b8

Browse files
committed
1 parent e465860 commit 52ec2b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/services/TeamService.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,13 @@ async function _validateRoleSearchRequests (roleSearchRequestIds) {
11361136
}
11371137
if (!roleSearchRequest.jobDescription) {
11381138
roleSearchRequests[roleSearchRequestId].jobDescription = role.description
1139+
// search from skill list
1140+
if (!roleSearchRequests[roleSearchRequestId].jobDescription) {
1141+
const skills = await getSkillNamesByIds(roleSearchRequest.skills)
1142+
roleSearchRequests[roleSearchRequestId].jobDescription = skills.join(',')
1143+
}
11391144
}
1145+
11401146
roleSearchRequests[roleSearchRequestId].resourceType = role.name
11411147
}))
11421148
return roleSearchRequests

0 commit comments

Comments
 (0)