updates on the ui changes
This commit is contained in:
@@ -141,16 +141,6 @@ export default function Customers({ embedded = false }) {
|
||||
|
||||
return (
|
||||
<Stack space="lg">
|
||||
{!embedded && (
|
||||
<PageHeader
|
||||
actions={
|
||||
<Button onClick={() => navigate('/doormile/customer/create')}>
|
||||
<Plus className="mr-1.5 h-4 w-4" /> New customer
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Grid cols={4}>
|
||||
<KpiCard
|
||||
icon={Users}
|
||||
@@ -195,6 +185,11 @@ export default function Customers({ embedded = false }) {
|
||||
onSearchChange={setSearch}
|
||||
placeholder="Search by name, phone or email"
|
||||
count={{ shown: rows.length, total: customers.length, noun: 'customers' }}
|
||||
actions={
|
||||
<Button onClick={() => navigate('/doormile/customer/create')}>
|
||||
<Plus className="mr-1.5 h-4 w-4" /> New customer
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
<DataTable
|
||||
|
||||
Reference in New Issue
Block a user