Commit 05f37b54 authored by Bruno López Trigo's avatar Bruno López Trigo

Engadida lista de clases en panel de configuración

parent 32b6d0d8
......@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from "react";
import React, { Fragment } from "react";
import PropTypes from "prop-types";
import { withStyles } from "@material-ui/core/styles";
import Button from "@material-ui/core/Button";
......@@ -1383,6 +1383,24 @@ class ConfigurationPanel extends React.Component {
)}
</ListItem>
</List>
<Typography variant="h6" component="h6" className={classes.upper}>
<CropSquare />{" "}
{this.props.language.labels[this.props.language.id].classes}
</Typography>
<Paper>
<List>
{this.state.config.consequents.map((consequent, index) => {
return (
<Fragment>
<ListItem>
<ListItemText primary={index + " : " + consequent.name} />
</ListItem>
<Divider />
</Fragment>
);
})}
</List>
</Paper>
</div>
);
}
......
......@@ -18,4 +18,3 @@
export const BASENAME = "/";
export const API_ROOT = "http://localhost:8080/expliclas-api/api";
export const API_DOC = "http://localhost:8080/";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment