mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-03 11:04:20 +00:00
feat(frontend): show client group in the client info modal
The group label was already on ClientRecord but the info modal never displayed it. Add a conditional row next to the comment, rendered as a geekblue tag to match the group column in the clients table.
This commit is contained in:
@@ -308,6 +308,12 @@ export default function ClientInfoModal({
|
||||
<td>{t('pages.inbounds.updatedAt')}</td>
|
||||
<td><Tag>{dateLabel(client.updatedAt)}</Tag></td>
|
||||
</tr>
|
||||
{client.group && (
|
||||
<tr>
|
||||
<td>{t('pages.clients.group')}</td>
|
||||
<td><Tag color="geekblue">{client.group}</Tag></td>
|
||||
</tr>
|
||||
)}
|
||||
{client.comment && (
|
||||
<tr>
|
||||
<td>{t('pages.clients.comment')}</td>
|
||||
|
||||
Reference in New Issue
Block a user