1
0
mirror of https://github.com/simon987/sist2.git synced 2025-04-24 12:45:56 +00:00

Fix thumbnail in DocInfoModal.vue

This commit is contained in:
simon987 2021-09-24 19:40:06 -04:00
parent b03ce90a05
commit d0a1deca30

@ -4,7 +4,8 @@
<template #modal-title> <template #modal-title>
<h5 class="modal-title" :title="doc._source.name + ext(doc)">{{ doc._source.name + ext(doc) }}</h5> <h5 class="modal-title" :title="doc._source.name + ext(doc)">{{ doc._source.name + ext(doc) }}</h5>
</template> </template>
<img :src="`t/${doc._source.index}/${doc._id}`" alt="" class="fit card-img-top">
<img v-if="doc._props.hasThumbnail" :src="`t/${doc._source.index}/${doc._id}`" alt="" class="fit card-img-top">
<InfoTable :doc="doc"></InfoTable> <InfoTable :doc="doc"></InfoTable>