Skip to content

Commit

Permalink
fix(VDataTableServer): add missing VDivider above footer (#19488)
Browse files Browse the repository at this point in the history
Co-authored-by: John Leider <john@vuetifyjs.com>
  • Loading branch information
MatthewAry and johnleider authored Mar 28, 2024
1 parent 5180f0f commit 5f6c723
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions packages/vuetify/src/components/VDataTable/VDataTableServer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { makeDataTableProps } from './VDataTable'
import { makeVDataTableFooterProps, VDataTableFooter } from './VDataTableFooter'
import { VDataTableHeaders } from './VDataTableHeaders'
import { VDataTableRows } from './VDataTableRows'
import { VDivider } from '@/components/VDivider'
import { VTable } from '@/components/VTable'

// Composables
Expand Down Expand Up @@ -189,12 +190,16 @@ export const VDataTableServer = genericComponent<new <T extends readonly any[],
</>
),
bottom: () => slots.bottom ? slots.bottom(slotProps.value) : (
<VDataTableFooter
{ ...dataTableFooterProps }
v-slots={{
prepend: slots['footer.prepend'],
}}
/>
<>
<VDivider />

<VDataTableFooter
{ ...dataTableFooterProps }
v-slots={{
prepend: slots['footer.prepend'],
}}
/>
</>
),
}}
</VTable>
Expand Down

0 comments on commit 5f6c723

Please sign in to comment.