mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix available IC types and categories
This commit is contained in:
parent
ccc0e77913
commit
d88698f802
2 changed files with 8 additions and 8 deletions
|
@ -114,7 +114,7 @@ class EditICDialog extends React.Component {
|
|||
let typeOptions = [];
|
||||
switch(this.state.category){
|
||||
case "simulator":
|
||||
typeOptions = ["dummy","generic","dpsim","rtlab","rscad", "opalrt"];
|
||||
typeOptions = ["dummy","generic","dpsim","rtlab","rscad","rtlab","kubernetes"];
|
||||
break;
|
||||
case "manager":
|
||||
typeOptions = ["villas-node","villas-relay","generic"];
|
||||
|
|
|
@ -137,10 +137,10 @@ class NewICDialog extends React.Component {
|
|||
let typeOptions = [];
|
||||
switch(this.state.category){
|
||||
case "simulator":
|
||||
typeOptions = ["dummy","generic","dpsim","rtlab","rscad","opalrt"];
|
||||
typeOptions = ["dummy","generic","dpsim","rtlab","rscad","rtlab","kubernetes"];
|
||||
break;
|
||||
case "manager":
|
||||
typeOptions = ["villas-node","villas-relay","generic"];
|
||||
typeOptions = ["villas-node","villas-relay","generic","kubernetes"];
|
||||
break;
|
||||
case "gateway":
|
||||
typeOptions = ["villas-node","villas-relay"];
|
||||
|
@ -201,11 +201,11 @@ class NewICDialog extends React.Component {
|
|||
</OverlayTrigger>
|
||||
<FormControl as="select" value={this.state.category} onChange={(e) => this.handleChange(e)}>
|
||||
<option default>Select category</option>
|
||||
<option>simulator</option>
|
||||
<option>service</option>
|
||||
<option>gateway</option>
|
||||
<option>equipment</option>
|
||||
<option>manager</option>
|
||||
<option value="simulator">Simulator</option>
|
||||
<option value="service">Service</option>
|
||||
<option value="gateway">Gateway</option>
|
||||
<option value="equipment">Equipment</option>
|
||||
<option value="manager">Manager</option>
|
||||
</FormControl>
|
||||
</FormGroup>
|
||||
<FormGroup controlId="type" valid={this.validateForm('type')}>
|
||||
|
|
Loading…
Add table
Reference in a new issue