feat: allow searching for statuses (#632)
This commit is contained in:
parent
86a604ae9c
commit
12280afe70
7 changed files with 25 additions and 7 deletions
|
@ -11,6 +11,7 @@ const onActivate = () => {
|
|||
<CommonScrollIntoView as="RouterLink" :active="active" :to="result.to" py2 block px2 :aria-selected="active" :class="{ 'bg-active': active }" hover:bg-active @click="() => onActivate()">
|
||||
<SearchHashtagInfo v-if="result.type === 'hashtag'" :hashtag="result.hashtag" />
|
||||
<AccountInfo v-else-if="result.type === 'account'" :account="result.account" />
|
||||
<StatusCard v-else-if="result.type === 'status'" :status="result.status" :actions="false" :show-reply-to="false" />
|
||||
<div v-else-if="result.type === 'action'" text-center>
|
||||
{{ result.action!.label }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue