feat: admin.sign_up notifiaction

zio/stable
patak 2022-12-09 22:30:16 +01:00
parent deea8c0aab
commit c4ae1d1d6f
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ const { notification } = defineProps<{
</div> </div>
<AccountCard :account="notification.account" /> <AccountCard :account="notification.account" />
</template> </template>
<template v-if="notification.type === 'admin.sign_up'">
<div flex p2 items-center gap-2>
<div i-ri:admin-fill mr-1 color-purple />
<span>New Sign Up</span>
</div>
<AccountCard :account="notification.account" px2 pb2 />
</template>
<template v-else-if="notification.type === 'follow_request'"> <template v-else-if="notification.type === 'follow_request'">
<div flex ml-4 items-center class="-top-2.5" absolute right-2 px-2> <div flex ml-4 items-center class="-top-2.5" absolute right-2 px-2>
<div i-ri:user-follow-fill mr-1 /> <div i-ri:user-follow-fill mr-1 />