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:
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments