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>
<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" />
</div>
</template>

View file

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