Skip to content
Snippets Groups Projects
Commit ca2a33ed authored by syuilo's avatar syuilo
Browse files

fix(client): Use router-link instead of a to avoid page refresh

parent ea80d5ea
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,11 @@
<div class="ujigsodd">
<mk-loading v-if="fetching"/>
<div class="stream" v-if="!fetching && images.length > 0">
<a v-for="(image, i) in images" :key="i"
<router-link v-for="(image, i) in images" :key="i"
class="img"
:style="`background-image: url(${thumbnail(image.file)})`"
:href="image.note | notePage"
></a>
:to="image.note | notePage"
></router-link>
</div>
<p class="empty" v-if="!fetching && images.length == 0">{{ $t('nothing') }}</p>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment