Skip to content

Commit 3ad65fb

Browse files
committed
fix(table): rows array reactivity
fixes #67
1 parent 4a8c777 commit 3ad65fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/anu-vue/src/components/table/ATable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export const ATable = defineComponent({
231231
)
232232

233233
// 👉 Paginated Rows
234-
const paginatedRows = ref(sortedRows.value)
234+
const paginatedRows = computed(() => sortedRows.value)
235235

236236
// TODO: Check passing toRef(props, 'pageSize') to useOffsetPagination and use returned `currentPageSize` for reactive pgeSize prop
237237
const currentPageSize = ref(props.pageSize)

0 commit comments

Comments
 (0)