hardlounge/client/components/Special/ListBans.vue

32 lines
589 B
Vue
Raw Normal View History

2018-07-10 09:16:24 +00:00
<template>
<table class="ban-list">
<thead>
<tr>
<th class="hostmask">Banned</th>
<th class="banned_by">Banned By</th>
<th class="banned_at">Banned At</th>
</tr>
</thead>
<tbody>
<tr
v-for="ban in channel.data"
:key="ban.hostmask"
>
2018-07-10 09:16:24 +00:00
<td class="hostmask">{{ ban.hostmask }}</td>
2018-07-12 08:41:40 +00:00
<td class="banned_by">{{ ban.banned_by }}</td>
2018-07-10 09:16:24 +00:00
<td class="banned_at">{{ ban.banned_at | localetime }}</td>
</tr>
</tbody>
</table>
</template>
<script>
export default {
name: "ListBans",
props: {
2018-07-19 17:44:24 +00:00
network: Object,
2018-07-10 09:16:24 +00:00
channel: Object,
},
};
</script>