Skip to content

Commit

Permalink
fix: display entity depictions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Feb 21, 2024
1 parent c1f055e commit 0a4b1e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/entity-images.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts" setup>
const props = defineProps<{
images: any; // FIXME: openapi doc is wrong for depictions
images: Array<{ license: string; url: string }>;
}>();
</script>

Expand All @@ -12,9 +12,9 @@ const props = defineProps<{
<Card class="pb-3">
<figure class="grid h-96 grid-rows-[1fr_auto] gap-y-1.5 overflow-hidden">
<div class="relative">
<img alt="" class="absolute size-full object-contain" :src="image" />
<img alt="" class="absolute size-full object-contain" :src="image.url" />
</div>
<figcaption class="justify-self-center">{{ image }}</figcaption>
<figcaption class="justify-self-center">{{ image.license }}</figcaption>
</figure>
</Card>
</CarouselItem>
Expand Down

0 comments on commit 0a4b1e5

Please sign in to comment.