Skip to content
Snippets Groups Projects
Commit 4b1e4a66 authored by esikkala's avatar esikkala
Browse files

ResultTable: no expand button when multiple images

parent 61911843
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,11 @@ class ResultTable extends React.Component {
if (isArray) {
hasExpandableContent = true
}
// if there are multiple images, they can be viewed by clicking the preview image,
// not by expanding
if (column.valueType === 'image' && Array.isArray(columnData)) {
hasExpandableContent = false
}
if (!isArray &&
columnData !== '-' &&
column.valueType === 'string' &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment