type change

This commit is contained in:
Julian Krauser 2024-11-04 16:21:12 +01:00
parent 4ea0f9b5a1
commit af9e4557d1
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<div v-for="item in collection" :key="item.slug" class="contents"> <div v-for="item in collection" :key="item.slug" class="contents">
<BaseListImageItem v-if="data?.lookup.imageItem" :data="item" /> <BaseListImageItem v-if="data?.lookup.image_item" :data="item" />
<BaseListItem v-else :data="item" /> <BaseListItem v-else :data="item" />
</div> </div>
</template> </template>

View file

@ -2,7 +2,8 @@ export default interface Lookup {
id: number; id: number;
documentId: string; documentId: string;
collection: string; collection: string;
imageItem: boolean; image_item: boolean;
date_list: boolean;
reference: string; reference: string;
createdAt: string; createdAt: string;
updatedAt: string; updatedAt: string;