fix: edited posts in notifications (#189)
parent
fa35d73d56
commit
4a3b51dca8
|
@ -41,8 +41,21 @@ const { notification } = defineProps<{
|
|||
</div>
|
||||
<StatusCard :status="notification.status!" p3 />
|
||||
</template>
|
||||
<template v-else-if="notification.type === 'update'">
|
||||
<div flex ml-4 items-center>
|
||||
<div i-ri:edit-2-fill mr-3 text-secondary />
|
||||
<AccountInlineInfo :account="notification.account" mr1 />
|
||||
updated their status
|
||||
</div>
|
||||
<StatusCard :status="notification.status!" p3 />
|
||||
</template>
|
||||
<template v-else-if="notification.type === 'mention' || notification.type === 'poll' || notification.type === 'status'">
|
||||
<StatusCard :status="notification.status!" p3 />
|
||||
</template>
|
||||
<template v-else>
|
||||
<div text-red font-bold>
|
||||
[DEV] MISSING notification.type: '{{ notification.type }}'
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue