diff options
Diffstat (limited to 'packages/client/src/components/MkAvatars.vue')
| -rw-r--r-- | packages/client/src/components/MkAvatars.vue | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/client/src/components/MkAvatars.vue b/packages/client/src/components/MkAvatars.vue deleted file mode 100644 index 958e5db0a1..0000000000 --- a/packages/client/src/components/MkAvatars.vue +++ /dev/null @@ -1,24 +0,0 @@ -<template> -<div> - <div v-for="user in users" :key="user.id" style="display:inline-block;width:32px;height:32px;margin-right:8px;"> - <MkAvatar :user="user" style="width:32px;height:32px;" :show-indicator="true"/> - </div> -</div> -</template> - -<script lang="ts" setup> -import { onMounted, ref } from 'vue'; -import * as os from '@/os'; - -const props = defineProps<{ - userIds: string[]; -}>(); - -const users = ref([]); - -onMounted(async () => { - users.value = await os.api('users/show', { - userIds: props.userIds - }); -}); -</script> |