work in progress
This commit is contained in:
15
irchad-web/src/components/UserList.vue
Normal file
15
irchad-web/src/components/UserList.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup>
|
||||
import { useIRCStore } from "@/stores/irc";
|
||||
const props = defineProps(["users"]);
|
||||
const store = useIRCStore();
|
||||
</script>
|
||||
<template>
|
||||
<v-list density="compact">
|
||||
<v-list-item
|
||||
v-for="user in users"
|
||||
:prepend-avatar="store.getMetadata(user.nick, 'avatar')"
|
||||
>
|
||||
{{ user.nick }}
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</template>
|
||||
Reference in New Issue
Block a user