displayName hex in JSON tab

This commit is contained in:
Natsumi
2026-01-08 23:44:47 +13:00
parent 548866f2f8
commit 2f3e57cd01
6 changed files with 27 additions and 6 deletions

View File

@@ -594,6 +594,7 @@
openExternalLink,
openFolderGeneric,
replaceVrcPackageUrl,
textToHex,
timeToText
} from '../../../shared/utils';
import {
@@ -1017,7 +1018,10 @@
}
function refreshAvatarDialogTreeData() {
treeData.value = buildTreeData(avatarDialog.value.ref);
treeData.value = buildTreeData({
...avatarDialog.value.ref,
_hexDisplayName: textToHex(avatarDialog.value.ref?.displayName)
});
}
function showSetAvatarTagsDialog(avatarId) {

View File

@@ -1184,6 +1184,7 @@
openExternalLink,
refreshInstancePlayerCount,
removeFromArray,
textToHex,
userImage,
userStatusClass
} from '../../../shared/utils';
@@ -1757,6 +1758,7 @@
function refreshGroupDialogTreeData() {
const D = groupDialog.value;
const treeData = buildTreeData({
_hexDisplayName: textToHex(D.ref.displayName),
group: D.ref,
posts: D.posts,
instances: D.instances,

View File

@@ -1303,7 +1303,10 @@
nextTick(() => (D.openFlg = false));
}
function refreshWorldDialogTreeData() {
treeData.value = buildTreeData(worldDialog.value.ref);
treeData.value = buildTreeData({
...worldDialog.value.ref,
_hexDisplayName: textToHex(worldDialog.value.ref?.displayName)
});
}
function copyWorldId() {
navigator.clipboard