Skip to content

Commit 028a1d7

Browse files
committed
Tags
1 parent e2558a4 commit 028a1d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Content.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ onBeforeRouteUpdate(async (to) => {
230230
<div class="tags-grid">
231231
<a
232232
class="tag-link tag-link-all"
233-
:class="{ 'tag-link-active': !route.query.tags }"
233+
:class="{ 'tag-link-active': route.query.tags === undefined || route.query.tags === 'NONE' }"
234234
@click.prevent="clearTagFilter()"
235235
>
236236
All
@@ -263,7 +263,6 @@ onBeforeRouteUpdate(async (to) => {
263263
<a
264264
v-if="route.query.tags"
265265
class="tag-link tag-link-all"
266-
:class="{ 'tag-link-active': !route.query.tags }"
267266
@click.prevent="clearTagFilter()"
268267
>
269268
All

0 commit comments

Comments
 (0)