mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-21 11:11:23 +00:00
Fix reporting on skill
This commit is contained in:
parent
26409ca692
commit
c1b771d2ef
1 changed files with 2 additions and 3 deletions
|
@ -141,10 +141,9 @@ var ProfileModal = React.createClass({
|
|||
}
|
||||
|
||||
let division = this.props.user.profile.skill;
|
||||
|
||||
let skillLevels = ["Low Skill", "Medium Skill", "High Skill"].map(skill => {
|
||||
if (skill === skill) {
|
||||
return <option defaultValue key={skill}>{skill}</option>
|
||||
if (skill === division) {
|
||||
return <option selected="selected" key={skill}>{skill}</option>
|
||||
} else {
|
||||
return <option key={skill}>{skill}</option>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue