mirror of
https://github.com/anna-sara/lan_kiosk
synced 2026-03-16 11:45:40 +01:00
Added lan_id to more places
This commit is contained in:
parent
903589d879
commit
bec32c5fb4
1 changed files with 2 additions and 1 deletions
|
|
@ -80,7 +80,8 @@ export default function Dashboard({ customers }: CustomerProps) {
|
||||||
<div className='container is-centered'>
|
<div className='container is-centered'>
|
||||||
{filteredCustomers && filteredCustomers.map(customer => {
|
{filteredCustomers && filteredCustomers.map(customer => {
|
||||||
return <a key={customer.id} className="box customer-box is-flex is-justify-content-space-between" href={`/customer/` + customer.id}>
|
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">
|
<span className="icon has-text-black">
|
||||||
<FontAwesomeIcon icon={faArrowRight} />
|
<FontAwesomeIcon icon={faArrowRight} />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue