commit 5f88a48afa09deec6754405d59f6cd8b7737a2da
parent f649c701e1ef12f384147834fc74acb9a2c5bae8
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 20 May 2022 13:57:25 +0200
Add room id to table
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/components/Banlist.tsx b/src/components/Banlist.tsx
@@ -98,6 +98,7 @@ class BanList extends PureComponent<Props, State> {
<th className='border-2 border-slate-600 p-1'>Recommendation</th>
<th className='border-2 border-slate-600 p-1'>Reason</th>
<th className='border-2 border-slate-600 p-1'>Sender</th>
+ <th className='border-2 border-slate-600 p-1'>Room</th>
</tr>
</thead>
<tbody>
@@ -115,6 +116,7 @@ class BanList extends PureComponent<Props, State> {
<td className='p-1 min-w-[1rem] max-w-[14rem]'>{recommendation}</td>
<td className='p-1 min-w-[8rem] max-w-[14rem]'>{element.content.reason}</td>
<td className='p-1 min-w-[12rem] max-w-[14rem]'>{sender_dp}</td>
+ <td className='p-1 min-w-[12rem] max-w-[14rem]'>{element.room_id}</td>
</tr>
);
}
@@ -136,6 +138,7 @@ class BanList extends PureComponent<Props, State> {
<th className='border-2 border-slate-600 p-2'>Recommendation</th>
<th className='border-2 border-slate-600 p-2'>Reason</th>
<th className='border-2 border-slate-600 p-1'>Sender</th>
+ <th className='border-2 border-slate-600 p-1'>Room</th>
</tr>
</thead>
<tbody>
@@ -153,6 +156,7 @@ class BanList extends PureComponent<Props, State> {
<td className='p-1 min-w-[1rem] max-w-[14rem]'>{recommendation}</td>
<td className='p-1 min-w-[8rem] max-w-[14rem]'>{element.content.reason}</td>
<td className='p-1 min-w-[12rem] max-w-[14rem]'>{sender_dp}</td>
+ <td className='p-1 min-w-[12rem] max-w-[14rem]'>{element.room_id}</td>
</tr>
);
}