Fix caption path

This commit is contained in:
2022-02-19 14:11:40 -05:00
parent f075b542fe
commit 8ad9fc9e32
5 changed files with 6 additions and 156 deletions

View File

@@ -3,7 +3,7 @@
<p>
<b>{{
`[${$store.getters.indices.find(i => i.id === hit._source.index).name}]`
}}</b>{{ `/${hit._source.path}/${hit._source.name}${ext(hit)}` }}
}}</b>{{ `${hit._source.path === '' ? '' : '/'}${hit._source.path}/${hit._source.name}${ext(hit)}` }}
</p>
<p style="margin-top: -1em">
<span v-if="hit._source.width">{{ `${hit._source.width}x${hit._source.height}`}}</span>