Skip to content

Commit

Permalink
feat: prevent duplicated calls & showing empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
annacv committed Dec 11, 2024
1 parent 5497ee1 commit 885f539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/search/results/results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<Promoted :promoted="promoted" />
</MainScrollItem>
</template>
<template #related-prompts-group>
<RelatedPromptsTagList v-if="!isLowResult" class="-x-mb-1 x-mt-24 desktop:x-mt-0" />
<template v-if="!isLowResult" #related-prompts-group>
<RelatedPromptsTagList class="-x-mb-1 x-mt-24 desktop:x-mt-0" />
<CustomQueryPreview
v-if="selectedPrompt !== -1"
:key="queriesPreviewInfo.length"
Expand Down

0 comments on commit 885f539

Please sign in to comment.