Auto include collapse/expand icon for first column as a part of row component
This commit is contained in:
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,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user