Skip to content

Commit

Permalink
Merge pull request #153 from m2ms/feature/#225-SiteLabel
Browse files Browse the repository at this point in the history
added description into site label
  • Loading branch information
reskyner authored Mar 31, 2020
2 parents fd1e600 + 100b16e commit e0fe42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/components/preview/moleculeGroups/molGroupChecklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const molGroupChecklist = memo(({}) => {
{mol_group_list &&
mol_group_list.map((moleculeGroup, idx) => {
const checked = mol_group_selection.some(i => i === moleculeGroup.id);
const site = idx + 1;
return (
<Grid
item
Expand All @@ -74,7 +73,7 @@ const molGroupChecklist = memo(({}) => {
/>
</Grid>
<Grid item className={checked ? classes.selectedLine : null}>
{`Site ${site} - (${moleculeGroup.id})`}
{`Site ${idx + 1} - ${moleculeGroup.description}`}
</Grid>
</Grid>
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fragalysis-frontend",
"version": "0.4.2",
"version": "0.5.0",
"description": "Frontend for fragalysis",
"main": "webpack.config.js",
"scripts": {
Expand Down

0 comments on commit e0fe42b

Please sign in to comment.