We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddcbf88 commit 58ddc5fCopy full SHA for 58ddc5f
src/views/Home.vue
@@ -16,7 +16,7 @@ function updateArticle() {
16
break
17
}
18
let article = articles[i]
19
- if((route.query.tags == null || article.tags.includes(route.query.tag as string)) &&
+ if((route.query.tag == null || article.tags.includes(route.query.tag as string)) &&
20
(route.query.search == null || article.title.indexOf(route.query.search as string) >= 0)) {
21
articleFilter.push(article)
22
0 commit comments