feat(assignees): show user avatar in search results

This commit is contained in:
kolaente 2023-04-03 19:49:45 +02:00 committed by konrad
parent 59c942af73
commit 6a15489610
1 changed files with 7 additions and 0 deletions

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>