diff --git a/frontend/src/common/js/tableUtils.js b/frontend/src/common/js/tableUtils.js index 84bdd89d58..dcfff9b76c 100644 --- a/frontend/src/common/js/tableUtils.js +++ b/frontend/src/common/js/tableUtils.js @@ -469,16 +469,18 @@ export function getCustomFieldValue(row, field, members) { else if (['multipleSelect', 'checkbox'].indexOf(field.type) > -1) { if (item.value) { let values = ''; - item.value.forEach(v => { - for (let j = 0; j < field.options.length; j++) { - let option = field.options[j]; - if (option.value === v) { - values += (field.system ? i18n.t(option.text) : option.text); - values += " "; - break; + if (item.value instanceof Array) { + item.value.forEach(v => { + for (let j = 0; j < field.options.length; j++) { + let option = field.options[j]; + if (option.value === v) { + values += (field.system ? i18n.t(option.text) : option.text); + values += " "; + break; + } } - } - }); + }); + } return values; } }