aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/components/RightPanel.react.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/js/components/RightPanel.react.js')
-rw-r--r--src/web/js/components/RightPanel.react.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js
index 8726ab7e..c549e416 100644
--- a/src/web/js/components/RightPanel.react.js
+++ b/src/web/js/components/RightPanel.react.js
@@ -78,7 +78,9 @@ var PanelMixin = {
items.push(<dd key={key}><Glyphicon glyph="unchecked" /></dd>);
}
} else if (field.type == 'list') {
- this.props.obj[field.key].map(function(tag) {items.push(<dd key={tag}>{tag}</dd>)});
+ items.push(<dd key={key}>{this.props.obj[field.key].reduce(function(tag, concatenatedTag) {
+ return tag.concat(", ", concatenatedTag)
+ })}</dd>)
} else if (field.type == 'link') {
items.push(<dd key={key}>
<a href={this.props.obj[field.key]}>
bgstack15