Fix tag selection method in home page component (#690)

This commit is contained in:
Chirag Chhatrala 2025-02-03 13:22:26 +05:30 committed by GitHub
parent cc1199f52a
commit 717fcc78d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
<template>
<div class="bg-white" v-if="workspace">
<div
v-if="workspace"
class="bg-white"
>
<div class="flex bg-gray-50 pb-5 border-b">
<div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl p-4">
<div class="pt-4 pb-0">
@ -276,7 +279,7 @@ const selectedTags = ref(new Set())
const onTagClick = (tag) => {
if (selectedTags?.value?.has(tag)) {
selectedTags.value.remove(tag)
selectedTags.value.delete(tag)
} else {
selectedTags.value.add(tag)
}