Lint
This commit is contained in:
@@ -13,7 +13,7 @@ export default {
|
||||
async setup() {
|
||||
const data = ref<CategoryData>()
|
||||
const status = ref<'ok' | 'error'>()
|
||||
const endOfScroll = ref<Boolean>() // Display message when user reaches bottom of page
|
||||
const endOfScroll = ref<boolean>() // Display message when user reaches bottom of page
|
||||
|
||||
return {
|
||||
data,
|
||||
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
const tagElements = category.getElementsByTagName('span')
|
||||
const categoryTags = Array.from(tagElements, (el) => el.innerText.toLowerCase())
|
||||
|
||||
let tagInputIsValid = wantedTags.length > 0
|
||||
const tagInputIsValid = wantedTags.length > 0
|
||||
if (tagInputIsValid && !categoryTags.some((r) => wantedTags.includes(r))) {
|
||||
category.style.display = 'none'
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user