diff --git a/components/dashboard/links/Index.vue b/components/dashboard/links/Index.vue index 35b6611..3409459 100644 --- a/components/dashboard/links/Index.vue +++ b/components/dashboard/links/Index.vue @@ -11,7 +11,7 @@ async function getLinks() { const data = await useAPI('/api/link/list', { query: { limit, - cursor, + cursor: cursor || undefined, }, }) links.value = links.value.concat(data.links).filter(Boolean) // Sometimes cloudflare will return null, filter out