Skip to content

Commit

Permalink
fix(table): rows array reactivity
Browse files Browse the repository at this point in the history
fixes #67
  • Loading branch information
jd-solanki committed Nov 9, 2022
1 parent 4a8c777 commit 3ad65fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/anu-vue/src/components/table/ATable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const ATable = defineComponent({
)

// 馃憠 Paginated Rows
const paginatedRows = ref(sortedRows.value)
const paginatedRows = computed(() => sortedRows.value)

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

0 comments on commit 3ad65fb

Please sign in to comment.