Auto include collapse/expand icon for first column as a part of row component

This commit is contained in:
dannyrb authored and James A. Petts committed 2020-05-15 14:01:59 +02:00
1 parent e3b0f60e69
commit 1b9c0fcfae
3 files changed
+29 -22

No files matched your search

@@ -62,6 +62,7 @@ function StudyListContainer({ history, data: studies }) {
skipEmptyString: true,
})}`,
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [debouncedFilterValues]);
const filtersMeta = [
@@ -163,15 +164,7 @@ function StudyListContainer({ history, data: studies }) {
row: [
{
key: 'patientName',
content: (
<>
<Icon
name={isExpanded ? 'chevron-down' : 'chevron-right'}
className="mr-4"
/>
{patientName}
</>
),
content: patientName,
gridCol: 4,
},
{