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