Fix: Bug fix for tags existence prediction

This commit is contained in:
winkidney
2019-03-20 18:13:17 +08:00
committed by Isaac Bythewood
parent e0bc2e759f
commit b44bc9f12a

View File

@@ -51,7 +51,7 @@
<div class="text pull-right">
<span class="dim">pinned by</span>
<a :href="getUserLink">{{ pin.submitter.username }}</a>
<template v-if="pin.tags">
<template v-if="pin.tags.length != 0">
<span class="dim">in</span>
<template v-for="_tag in pin.tags">
<span class="tag"><a :href="getTagLink(_tag)">{{ _tag }}</a></span>