add and change methods for services, modify collection form
[arvados-workbench2.git] / src / views / collection-panel / collection-panel.tsx
index 07eb7d971a5cfe01f292c04e34f7a756b3e62ecd..379a2eb8402f2d9aaf791cc31fa66af47ae38a79 100644 (file)
@@ -113,13 +113,16 @@ export const CollectionPanel = withStyles(styles)(
                             <CardHeader title="Properties" />
                             <CardContent>
                                 <Grid container direction="column">
-                                    <Grid item xs={12}><CollectionTagForm /></Grid>
+                                    <Grid item xs={12}>
+                                        <CollectionTagForm />
+                                    </Grid>
                                     <Grid item xs={12}>
                                         {
-                                            Object.keys(item.properties).map(key => {
-                                                return <Chip key={key} className={classes.tag}
-                                                    onDelete={this.handleDelete(key)}
-                                                    label={`${key}: ${item.properties[key]}`} />;
+                                            Object.keys(item.properties).map(k => {
+                                                console.log('k: ', k);
+                                                return <Chip key={k} className={classes.tag}
+                                                    onDelete={this.handleDelete(k)}
+                                                    label={`${k}: ${item.properties[k]}`} />;
                                             })
                                         }
                                     </Grid>