Skip to content

Commit 3bdfd19

Browse files
committed
Add user icon into patient view resource table too
1 parent d55ccab commit 3bdfd19

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/shared/components/resources/ResourceTable.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,18 @@ const ResourceTable = observer(
117117
<span data-test={'Resource'}>{resourceColumnName}</span>
118118
),
119119
render: row => (
120-
<a onClick={() => openResource(row.resource)}>
121-
{icon(row.resource)}
120+
<a
121+
onClick={() => openResource(row.resource)}
122+
style={{ fontSize: 10 }}
123+
>
124+
<i
125+
className={`fa fa-user fa-sm`}
126+
style={{
127+
marginRight: 5,
128+
color: 'black',
129+
}}
130+
title="Open in Patient View"
131+
/>
122132
{row.resourceName}
123133
</a>
124134
),

0 commit comments

Comments
 (0)