Skip to content

Commit

Permalink
chore(dashboard): add info about ban time into event list
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Aug 25, 2023
1 parent 0157cf6 commit 950b308
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/dashboard/src/components/dashboard/events/ban.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ defineProps<{
<Base :icon="IconUserCancel" :created-at="createdAt">
<template #leftContent>
<div style="display: flex; flex-direction: column">
<span>{{ createUserName(moderatorUserLogin, moderatorUserName) }} <b style="font-size: 11px">banned</b> {{ createUserName(userLogin, userName) }} for {{ endsIn }}</span>
<span>
{{ createUserName(moderatorUserLogin, moderatorUserName) }}
<b style="font-size: 11px">banned</b> {{ createUserName(userLogin, userName) }}
for {{ endsIn }} {{ endsIn != 'permanent' ? 'minutes' : '' }}</span>
<span style="font-size: 11px">{{ reason }}</span>
</div>
</template>
Expand Down

0 comments on commit 950b308

Please sign in to comment.