diff --git a/packages/nc-gui/components/webhook/CallLog.vue b/packages/nc-gui/components/webhook/CallLog.vue index 566c1e056e..d3f9c32aaf 100644 --- a/packages/nc-gui/components/webhook/CallLog.vue +++ b/packages/nc-gui/components/webhook/CallLog.vue @@ -22,6 +22,8 @@ const currentLimit = $ref(3) async function loadHookLogs(page = currentPage, limit = currentLimit) { try { + // cater empty records + page = page || 1 const { list, pageInfo } = await api.dbTableWebhookLogs.list(props.hook.id!, { offset: limit * (page - 1), limit,