feat(assignees): show user avatar in search results

This commit is contained in:
kolaente 2023-04-03 19:49:45 +02:00
parent 19e00299bb
commit 571bc5c61d
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -18,6 +18,9 @@
</BaseButton>
</span>
</template>
<template #searchResult="{option: user}">
<user :avatar-size="24" :show-username="true" :user="user" class="user-search-result"/>
</template>
</Multiselect>
</template>
@ -146,4 +149,8 @@ async function findUser(query: string) {
height: 18px;
z-index: 100;
}
.user-search-result {
margin: 0;
}
</style>