Skip to content

Commit c571b10

Browse files
committed
fix(customers): ts errors
1 parent 750665b commit c571b10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/customers.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ const pagination = ref({
253253
:items="
254254
table?.tableApi
255255
?.getAllColumns()
256-
.filter((column) => column.getCanHide())
257-
.map((column) => ({
256+
.filter((column: any) => column.getCanHide())
257+
.map((column: any) => ({
258258
label: upperFirst(column.id),
259259
type: 'checkbox' as const,
260260
checked: column.getIsVisible(),
@@ -311,7 +311,7 @@ const pagination = ref({
311311
:default-page="(table?.tableApi?.getState().pagination.pageIndex || 0) + 1"
312312
:items-per-page="table?.tableApi?.getState().pagination.pageSize"
313313
:total="table?.tableApi?.getFilteredRowModel().rows.length"
314-
@update:page="(p) => table?.tableApi?.setPageIndex(p - 1)"
314+
@update:page="(p: number) => table?.tableApi?.setPageIndex(p - 1)"
315315
/>
316316
</div>
317317
</div>

0 commit comments

Comments
 (0)