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