handle mixed string/array data

This commit is contained in:
j 2018-06-02 18:07:45 +02:00
parent 15358a290b
commit 72d692466d

View file

@ -583,7 +583,7 @@ pandora.ui.infoView = function(data) {
function getValue(key, value) {
return !value ? ''
: Ox.contains(listKeys, key) ? value.join(', ')
: Ox.contains(listKeys, key) && Ox.isArray(value) ? value.join(', ')
: value;
}