Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Aug 7, 2023
1 parent 6a44d49 commit 9a8abc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/pages/posts/navigation/search/SearchMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { watchDebounced } from '@vueuse/core'
import { abbreviateNumber } from 'js-abbreviation-number'
import Tag from 'assets/js/tag.dto'
import { uniqBy } from 'lodash-es'
import { cloneDeep, uniqBy } from 'lodash-es'
const { isActive: isTagCollectionsActive, toggleIsActive: toggleTagCollections } = useTagCollections()
Expand Down Expand Up @@ -43,7 +43,8 @@
]
}>()
const selectedTags = ref(props.initialSelectedTags)
// TODO: Investigate why a cloneDeep is needed here
const selectedTags = ref(cloneDeep(props.initialSelectedTags))
const searchQuery = ref('')
Expand Down
1 change: 1 addition & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
navigateTo({
path: '/posts',
query: {
domain: selectedBooru.value.domain,
tags: tag
}
})
Expand Down

0 comments on commit 9a8abc4

Please sign in to comment.