Skip to content

Commit 4abebb3

Browse files
Merge pull request #6641 from topcoder-platform/reskin-profile-settings
Reskin profile settings
2 parents 5248e4c + 7fa27b6 commit 4abebb3

File tree

2 files changed

+2
-1
lines changed
  • .circleci
  • src/shared/components/Settings/ExperienceAndSkills/WorkSkills/Skills/AddSkillsModal

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ workflows:
379379
only:
380380
- develop
381381
- old-mm-fix
382+
- reskin-profile-settings
382383
# Production builds are exectuted
383384
# when PR is merged to the master
384385
# Don't change anything in this configuration

src/shared/components/Settings/ExperienceAndSkills/WorkSkills/Skills/AddSkillsModal/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function AddSkillsModal({
3737
setDisplayingSkills([...userSkills]);
3838
}, [userSkills]);
3939

40-
const find = (arr, i) => arr && arr.indexOf(i) !== -1;
40+
const find = (arr, i) => arr && _.findIndex(arr, e => e.toLowerCase() === i.toLowerCase()) !== -1;
4141
const findSkill = (arr, skill) => arr && arr.find(a => a.id === skill.id);
4242

4343
const popularSkills = React.useMemo(() => allSkills

0 commit comments

Comments
 (0)