chore: Replace Thumbnail with Avatar (#12119)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import Thumbnail from 'dashboard/components/widgets/Thumbnail.vue';
|
||||
import Avatar from 'dashboard/components-next/avatar/Avatar.vue';
|
||||
import { defineProps, computed } from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
@@ -24,11 +24,12 @@ const usersToDisplay = computed(() => props.users.slice(0, props.limit));
|
||||
:class="index ? 'ltr:-ml-4 rtl:-mr-4' : ''"
|
||||
class="inline-block rounded-full text-white shadow-solid"
|
||||
>
|
||||
<Thumbnail
|
||||
size="36px"
|
||||
:username="user.name"
|
||||
<Avatar
|
||||
:name="user.name"
|
||||
:src="user.avatar_url"
|
||||
has-border
|
||||
:size="36"
|
||||
class="[&>span]:outline [&>span]:outline-1 [&>span]:outline-n-background"
|
||||
rounded-full
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user