Skip to content

Commit c51396a

Browse files
author
Harry Hummel
authored
209 add first name (#210)
* Fix re-rendering from useEffect in AllQueues * Add first name to QueueTable
1 parent b1d699a commit c51396a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/src/components/QueueTable.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ const QueueTable = observer(queueData => {
8181
options={{ search: false, sorting: true }}
8282
data={queueStore.queues[queueData.queueData].map(x => ({
8383
urgency: x.urgency,
84+
first: x.participant.first_name,
8485
last: x.participant.last_name,
8586
uid: x.participant.pp_id,
8687
timeElapsed: moment(x.status.created_at).format("LT"),
@@ -105,6 +106,7 @@ const QueueTable = observer(queueData => {
105106
),
106107
customSort: (a, b) => +a.urgency[1] - +b.urgency[1],
107108
},
109+
{ title: "First", field: "first" },
108110
{ title: "Last", field: "last" },
109111
{ title: "UID", field: "uid" },
110112
{

0 commit comments

Comments
 (0)