updates on the ui changes
This commit is contained in:
@@ -195,14 +195,6 @@ export default function Tripsheets() {
|
||||
|
||||
return (
|
||||
<Stack space="lg">
|
||||
<PageHeader
|
||||
actions={
|
||||
<Button onClick={openCreate}>
|
||||
<Plus className="mr-1.5 h-4 w-4" /> New tripsheet
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
<Grid cols={4}>
|
||||
<KpiCard
|
||||
icon={Truck}
|
||||
@@ -248,6 +240,11 @@ export default function Tripsheets() {
|
||||
onSearchChange={setSearch}
|
||||
placeholder="Search by tripsheet id, hub or status"
|
||||
count={{ shown: rows.length, total: tripsheets.length, noun: 'tripsheets' }}
|
||||
actions={
|
||||
<Button onClick={openCreate}>
|
||||
<Plus className="mr-1.5 h-4 w-4" /> New tripsheet
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
<DataTable
|
||||
|
||||
Reference in New Issue
Block a user