mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
fix notification center title
This commit is contained in:
@@ -279,7 +279,7 @@
|
||||
// if (n.senderUsername && n.senderUsername?.Value === null) {
|
||||
// return n.title || n.data?.groupName || n.groupName || n.details?.groupName || '';
|
||||
// }
|
||||
return n.senderUsername || n.data?.groupName || n.groupName || n.details?.groupName || '';
|
||||
return n.title || n.senderUsername || n.data?.groupName || n.groupName || n.details?.groupName || '';
|
||||
});
|
||||
|
||||
const avatarUrl = computed(() => {
|
||||
@@ -391,7 +391,7 @@
|
||||
|
||||
const groupDisplayName = computed(() => {
|
||||
const n = props.notification;
|
||||
return n.data?.groupName || n.groupName || n.details?.groupName || n.senderUsername || '';
|
||||
return n.title || n.data?.groupName || n.groupName || n.details?.groupName || n.senderUsername || '';
|
||||
});
|
||||
|
||||
const hoverTitle = computed(() => {
|
||||
|
||||
@@ -33,11 +33,7 @@
|
||||
</div>
|
||||
|
||||
<div class="flex justify-center py-3">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
class="text-xs text-muted-foreground"
|
||||
@click="$emit('navigate-to-table')">
|
||||
<Button variant="secondary" size="sm" class="text-xs" @click="$emit('navigate-to-table')">
|
||||
{{ t('side_panel.notification_center.view_more') }}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user