add bite back support, cleanup

This commit is contained in:
notfire 2025-10-22 17:08:07 -04:00
commit bbe87c4743
No known key found for this signature in database
7 changed files with 44 additions and 5 deletions

View file

@ -111,7 +111,7 @@
{{ ' ' }}
<small>{{ $t('notifications.follow_request') }}</small>
</span>
<span v-if="notification.type === 'bite'">
<span v-if="notification.type === 'bite' && notification.bite_back === false">
<FAIcon
class="type-icon"
icon="tooth"
@ -127,6 +127,14 @@
{{ ' ' }}
<small>{{ $t('notifications.bit_note') }}</small>
</span>
<span v-if="notification.type === 'bite' && notification.bite_back === true">
<FAIcon
class="type-icon"
icon="tooth"
/>
{{ ' ' }}
<small>{{ $t('notifications.bit_back') }}</small>
</span>
<span v-if="notification.type === 'update'">
<FAIcon
class="type-icon"
@ -260,6 +268,16 @@
class="move-text"
>
<button
class="btn button-default"
@click="biteBack"
>
{{ $t('notifications.bite_back') }}
<FAIcon
class="type-icon"
icon="tooth"
/>
</button>
</div>
<template v-else>
<StatusContent