File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/shared/components/Settings/ExperienceAndSkills/WorkSkills/Skills/AddSkillsModal Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,7 @@ workflows:
379
379
only :
380
380
- develop
381
381
- old-mm-fix
382
+ - reskin-profile-settings
382
383
# Production builds are exectuted
383
384
# when PR is merged to the master
384
385
# Don't change anything in this configuration
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default function AddSkillsModal({
37
37
setDisplayingSkills ( [ ...userSkills ] ) ;
38
38
} , [ userSkills ] ) ;
39
39
40
- const find = ( arr , i ) => arr && arr . indexOf ( i ) !== - 1 ;
40
+ const find = ( arr , i ) => arr && _ . findIndex ( arr , e => e . toLowerCase ( ) === i . toLowerCase ( ) ) !== - 1 ;
41
41
const findSkill = ( arr , skill ) => arr && arr . find ( a => a . id === skill . id ) ;
42
42
43
43
const popularSkills = React . useMemo ( ( ) => allSkills
You can’t perform that action at this time.
0 commit comments