From aad8f20466791fc079196e28ae547fa515c3b281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 25 Dec 2023 20:17:11 -0500 Subject: [PATCH] fix(components): add `last` prop to story listing component --- components/listings/stories.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/listings/stories.vue b/components/listings/stories.vue index 3a7da0f..96319d5 100644 --- a/components/listings/stories.vue +++ b/components/listings/stories.vue @@ -3,7 +3,11 @@ import { IStory } from "@models/stories"; const route = useRoute(); let curPage = ref(route.query.page || 1); - const props = defineProps<{ prefix?: string; items?: IStory[] }>(); + const props = defineProps<{ + prefix?: string; + items?: IStory[]; + last?: boolean; + }>(); let data; if (!props.prefix) { data = props.items; @@ -38,7 +42,7 @@