Added lan_id to more places

This commit is contained in:
Anna-Sara Sélea 2026-02-25 21:19:23 +01:00
parent 903589d879
commit bec32c5fb4

View file

@ -80,7 +80,8 @@ export default function Dashboard({ customers }: CustomerProps) {
<div className='container is-centered'>
{filteredCustomers && filteredCustomers.map(customer => {
return <a key={customer.id} className="box customer-box is-flex is-justify-content-space-between" href={`/customer/` + customer.id}>
<p>{customer.id}. {customer.name}</p>
{customer.is_group && <p>{customer.name}</p> }
{! customer.is_group && <p>{customer.id}. {customer.name}</p> }
<span className="icon has-text-black">
<FontAwesomeIcon icon={faArrowRight} />
</span>