diff --git a/components/detail-disclosure.vue b/components/detail-disclosure.vue index 2a5fd8b..1699fd8 100644 --- a/components/detail-disclosure.vue +++ b/components/detail-disclosure.vue @@ -3,14 +3,15 @@ import { get } from "lodash-es"; import { ChevronRight } from "lucide-vue-next"; import GenericDisclosure from "@/components/generic-disclosure.vue"; +import type { AnyEntity } from "@/types/schema"; import { NuxtLink } from "#components"; -defineProps<{ - rels: Array; +const props = defineProps<{ + rels: Array; gridClass?: string; title: string; defaultOpen?: boolean; - headers?: Array; + headers?: Array; customSlot?: boolean; linkTo?: boolean; collectionName: string; @@ -18,6 +19,10 @@ defineProps<{ const locale = useLocale(); const t = useTranslations(); + +const page = ref(0); +const limit = 25; +const all = props.rels.length;