adjust Location component to optionally enable context menu

This commit is contained in:
pa
2026-03-24 12:48:02 +09:00
parent d4dd04608b
commit e9743d0a73
6 changed files with 24 additions and 5 deletions

View File

@@ -48,6 +48,7 @@
:location="item.location"
:hint="item.worldName"
:grouphint="item.groupName"
enable-context-menu
disable-tooltip />
</template>
<template v-else-if="item.type === 'OnPlayerJoined'">
@@ -104,6 +105,7 @@
class="inline [&>div]:inline-flex"
:location="item.location"
:hint="item.worldName"
enable-context-menu
disable-tooltip />
<span v-else class="text-muted-foreground">{{ item.worldName || '' }}</span>
</template>