@coreui/vue-pro 4.10.1 → 4.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -605,6 +605,10 @@ const CSmartTable = defineComponent({
|
|
|
605
605
|
sortItems(props.columnSorter, filteredTable.value, itemsDataColumns.value, sorterState.value),
|
|
606
606
|
)
|
|
607
607
|
|
|
608
|
+
watch(sortedItems, () => {
|
|
609
|
+
emit('filteredItemsChange', sortedItems.value)
|
|
610
|
+
})
|
|
611
|
+
|
|
608
612
|
const numberOfPages = computed(() =>
|
|
609
613
|
itemsPerPage.value ? Math.ceil(sortedItems.value.length / itemsPerPage.value) : 1,
|
|
610
614
|
)
|