mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 15:39:15 +02:00
style: 🎨 Format code with Biome
This commit is contained in:
parent
7ff9d2302a
commit
3627ac0ef8
296 changed files with 3257 additions and 2808 deletions
|
|
@ -1,11 +1,26 @@
|
|||
<template>
|
||||
<Command class="rounded border shadow-md min-w-[200px] h-fit not-prose" :selected-value="items[selectedIndex]?.key">
|
||||
<Command
|
||||
class="rounded border shadow-md min-w-[200px] h-fit not-prose"
|
||||
:selected-value="items[selectedIndex]?.key"
|
||||
>
|
||||
<CommandList>
|
||||
<CommandEmpty>No results found.</CommandEmpty>
|
||||
<CommandGroup class="mentions-group" heading="Users">
|
||||
<CommandItem :value="user.key" v-for="user, index in items" :key="user.key" @click="selectItem(index)" class="scroll-m-10">
|
||||
<Avatar class="size-4" :src="user.value.avatar" :name="user.value.display_name" />
|
||||
<span v-render-emojis="user.value.emojis">{{ user.value.display_name }}</span>
|
||||
<CommandItem
|
||||
:value="user.key"
|
||||
v-for="user, index in items"
|
||||
:key="user.key"
|
||||
@click="selectItem(index)"
|
||||
class="scroll-m-10"
|
||||
>
|
||||
<Avatar
|
||||
class="size-4"
|
||||
:src="user.value.avatar"
|
||||
:name="user.value.display_name"
|
||||
/>
|
||||
<span v-render-emojis="user.value.emojis"
|
||||
>{{ user.value.display_name }}</span
|
||||
>
|
||||
</CommandItem>
|
||||
</CommandGroup>
|
||||
</CommandList>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue