thelounge/client/components/Special/ListInvites.vue

32 lines
627 B
Vue
Raw Normal View History

2019-04-14 13:44:44 +02:00
<template>
<table class="invite-list">
<thead>
<tr>
<th class="hostmask">Invited</th>
<th class="invitened_by">Invited By</th>
<th class="invitened_at">Invited At</th>
</tr>
</thead>
<tbody>
<tr
v-for="invite in channel.data"
:key="invite.hostmask"
>
<td class="hostmask">{{ invite.hostmask }}</td>
<td class="invitened_by">{{ invite.invited_by }}</td>
<td class="invitened_at">{{ invite.invited_at | localetime }}</td>
</tr>
</tbody>
</table>
</template>
<script>
export default {
name: "ListInvites",
props: {
network: Object,
channel: Object,
},
};
</script>