diff --git a/resources/js/Pages/Dashboard.tsx b/resources/js/Pages/Dashboard.tsx index 2c5b66a..04b8637 100644 --- a/resources/js/Pages/Dashboard.tsx +++ b/resources/js/Pages/Dashboard.tsx @@ -80,7 +80,8 @@ export default function Dashboard({ customers }: CustomerProps) {
{filteredCustomers && filteredCustomers.map(customer => { return -

{customer.id}. {customer.name}

+ {customer.is_group &&

{customer.name}

} + {! customer.is_group &&

{customer.id}. {customer.name}

}