mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
fix: gamelog widget location display issues
This commit is contained in:
@@ -42,14 +42,17 @@
|
||||
</TableCell>
|
||||
<TableCell class="max-w-0 truncate">
|
||||
<template v-if="item.type === 'Location'">
|
||||
<MapPin class="mr-1 inline-block h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
<Location
|
||||
class="inline [&>div]:inline-flex"
|
||||
:location="item.location"
|
||||
:hint="item.worldName"
|
||||
:grouphint="item.groupName"
|
||||
enable-context-menu
|
||||
disable-tooltip />
|
||||
<div class="flex min-w-0 items-center">
|
||||
<MapPin class="mr-1 h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
<div class="min-w-0 flex-1 truncate">
|
||||
<Location
|
||||
:location="item.location"
|
||||
:hint="item.worldName"
|
||||
:grouphint="item.groupName"
|
||||
enable-context-menu
|
||||
disable-tooltip />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="item.type === 'OnPlayerJoined'">
|
||||
<LogIn class="mr-1 inline-block h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
@@ -100,13 +103,13 @@
|
||||
item.displayName
|
||||
}}</span>
|
||||
<span class="text-muted-foreground"> → </span>
|
||||
<Location
|
||||
v-if="item.location"
|
||||
class="inline [&>div]:inline-flex"
|
||||
:location="item.location"
|
||||
:hint="item.worldName"
|
||||
enable-context-menu
|
||||
disable-tooltip />
|
||||
<div v-if="item.location" class="min-w-0 flex-1 truncate">
|
||||
<Location
|
||||
:location="item.location"
|
||||
:hint="item.worldName"
|
||||
enable-context-menu
|
||||
disable-tooltip />
|
||||
</div>
|
||||
<span v-else class="text-muted-foreground">{{ item.worldName || '' }}</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
|
||||
Reference in New Issue
Block a user