2019-04-14 11:44:44 +00: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>
|
2019-07-17 09:33:59 +00:00
|
|
|
<tr v-for="invite in channel.data" :key="invite.hostmask">
|
2019-04-14 11:44:44 +00:00
|
|
|
<td class="hostmask">{{ invite.hostmask }}</td>
|
|
|
|
<td class="invitened_by">{{ invite.invited_by }}</td>
|
2020-01-08 09:11:44 +00:00
|
|
|
<td class="invitened_at">{{ localetime(invite.invited_at) }}</td>
|
2019-04-14 11:44:44 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-01-08 09:11:44 +00:00
|
|
|
import localetime from "../../js/helpers/localetime";
|
|
|
|
|
2019-04-14 11:44:44 +00:00
|
|
|
export default {
|
|
|
|
name: "ListInvites",
|
|
|
|
props: {
|
|
|
|
network: Object,
|
|
|
|
channel: Object,
|
|
|
|
},
|
2020-01-08 09:11:44 +00:00
|
|
|
methods: {
|
|
|
|
localetime(date) {
|
|
|
|
return localetime(date);
|
|
|
|
},
|
|
|
|
},
|
2019-04-14 11:44:44 +00:00
|
|
|
};
|
|
|
|
</script>
|