Add invite message editing to tools tab

This commit is contained in:
Natsumi
2025-11-26 17:31:30 +11:00
parent d99a2c0cf1
commit b899d7e09b
5 changed files with 334 additions and 33 deletions

View File

@@ -16,27 +16,20 @@
<div style="flex: 1; display: flex; align-items: center; margin-left: 15px">
<div style="flex: 1">
<div>
<el-popover placement="top" trigger="click">
<template #reference>
<span
class="dialog-title"
style="margin-right: 5px; cursor: pointer"
@click="copyToClipboard(worldDialog.ref.name)">
<el-icon
v-if="
currentUser.$homeLocation &&
currentUser.$homeLocation.worldId === worldDialog.id
"
style="margin-right: 5px"
><HomeFilled
/></el-icon>
{{ worldDialog.ref.name }}
</span>
</template>
<span style="display: block; text-align: center; font-family: monospace">{{
textToHex(worldDialog.ref.name)
}}</span>
</el-popover>
<span
class="dialog-title"
style="margin-right: 5px; cursor: pointer"
@click="copyWorldName">
<el-icon
v-if="
currentUser.$homeLocation &&
currentUser.$homeLocation.worldId === worldDialog.id
"
style="margin-right: 5px"
><HomeFilled
/></el-icon>
{{ worldDialog.ref.name }}
</span>
</div>
<div style="margin-top: 5px">
<span