From 89a51613ba257ab39961e54441c86fba45e1b8a8 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 8 Nov 2016 23:50:03 +0100 Subject: Tags are displayed in one single line. --- src/web/js/components/RightPanel.react.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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(
); } } else if (field.type == 'list') { - this.props.obj[field.key].map(function(tag) {items.push(
{tag}
)}); + items.push(
{this.props.obj[field.key].reduce(function(tag, concatenatedTag) { + return tag.concat(", ", concatenatedTag) + })}
) } else if (field.type == 'link') { items.push(
-- cgit