fixed class name value

This commit is contained in:
Theenoro
2019-08-17 15:44:34 +02:00
parent 6a929b51be
commit bcf8fc8acf
2 changed files with 10 additions and 5 deletions

13
package-lock.json generated
View File

@@ -6630,7 +6630,8 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true "bundled": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@@ -6995,7 +6996,8 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true "bundled": true,
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@@ -7043,6 +7045,7 @@
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@@ -7081,11 +7084,13 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true "bundled": true,
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.3", "version": "3.0.3",
"bundled": true "bundled": true,
"optional": true
} }
} }
} }

View File

@@ -161,7 +161,7 @@ export class Main extends React.Component{
<select className="select-wrapper" onChange={this.selCh} value={this.state.selected} title="Gruppe auswählen"> <select className="select-wrapper" onChange={this.selCh} value={this.state.selected} title="Gruppe auswählen">
<option value="-">-</option> <option value="-">-</option>
{this.state.classes.map((cl,i)=> {this.state.classes.map((cl,i)=>
<option value={cl.toLowerCase()}>{cl.toUpperCase()}</option> <option value={cl}>{cl.toUpperCase()}</option>
)} )}
</select> </select>
</div> </div>