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