fix: [UI] Join with ", " array meta values for event reports

pull/6461/head
Jakub Onderka 2020-10-18 21:34:56 +02:00
parent 591d2164a8
commit a6b608f223
1 changed files with 3 additions and 0 deletions

View File

@ -1511,6 +1511,9 @@ function constructGalaxyInfo(tagData) {
if (tagData.GalaxyCluster.meta !== undefined) {
Object.keys(tagData.GalaxyCluster.meta).forEach(function(metaKey) {
var metaValue = tagData.GalaxyCluster.meta[metaKey]
if (Array.isArray(metaValue)) {
metaValue = metaValue.join(', ')
}
$clusterMeta.append(
$('<div/>').append(
$('<strong/>').addClass('blue').text(metaKey + ': '),