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:
MHSanaei
2026-07-02 23:58:58 +02:00
parent 258d8b7344
commit 1afab47f04
@@ -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>