Browse Source

fix(nc-gui): offset and limit should be in number type

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
3c21fe47dc
  1. 4
      packages/nc-gui/components/dashboard/settings/AuditTab.vue

4
packages/nc-gui/components/dashboard/settings/AuditTab.vue

@ -28,8 +28,8 @@ async function loadAudits(page = currentPage, limit = currentLimit) {
isLoading = true
const { list, pageInfo } = await $api.project.auditList(project.value?.id, {
offset: (limit * (page - 1)).toString(),
limit: limit.toString(),
offset: limit * (page - 1),
limit,
})
audits = list

Loading…
Cancel
Save