Frontend: Fixed the notification groups always showing the first user for reactions
ci/woodpecker/push/ociImagePush Pipeline is running Details

This commit is contained in:
Natty 2024-02-29 23:58:51 +01:00
parent 7f0be08799
commit dc86b4e67d
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 3 additions and 3 deletions

View File

@ -72,9 +72,9 @@
:user="notif.note.user" :user="notif.note.user"
/> />
<MagAvatar <MagAvatar
v-else-if="firstNotification.type === 'Reaction'" v-else-if="notif.type === 'Reaction'"
class="icon" class="icon"
:user="firstNotification.user" :user="notif.user"
/> />
<div class="sub-icon" :class="notif.type"> <div class="sub-icon" :class="notif.type">
<i <i
@ -110,9 +110,9 @@
<script lang="ts" setup> <script lang="ts" setup>
import { import {
ComponentPublicInstance, ComponentPublicInstance,
Ref,
onMounted, onMounted,
onUnmounted, onUnmounted,
Ref,
ref, ref,
watch, watch,
} from "vue"; } from "vue";