We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b5e05 commit 0157ba3Copy full SHA for 0157ba3
src/components/DataTable/DataTable.astro
@@ -113,7 +113,7 @@ const hasPagination = data?.length && itemsPerPage
113
class:list={classes}
114
style={maxHeight ? `max-height:${maxHeight}` : undefined}
115
>
116
- <table data-items-per-page={itemsPerPage} data-page={hasPagination && 1}>
+ <table data-items-per-page={itemsPerPage} data-page={hasPagination ? 1 : undefined}>
117
{headings?.length && (
118
<thead>
119
<tr>
0 commit comments