Skip to content

Commit

Permalink
fix: search function not working
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Sep 14, 2023
1 parent 50ef4a7 commit 856dd28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/SearchModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ export default defineComponent({
const initSearch = async () => {
searchIndexStatus.value = false
isEmpty.value = false
// await searchStore.fetchSearchIndex().then(() => {
// searchIndexStatus.value = true
// })
await searchStore.fetchSearchIndex().then(() => {
searchIndexStatus.value = true
})
}
onBeforeMount(initSearch)
Expand Down

0 comments on commit 856dd28

Please sign in to comment.