mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Clean up and fix avatar dialog "Share" button
This commit is contained in:
@@ -696,7 +696,7 @@
|
||||
showAvatarDialog(D.id);
|
||||
break;
|
||||
case 'Share':
|
||||
copyToClipboard(D.id);
|
||||
copyAvatarUrl(D.id);
|
||||
break;
|
||||
case 'Rename':
|
||||
promptRenameAvatar(D);
|
||||
@@ -1057,9 +1057,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!assetUrl) {
|
||||
assetUrl = D.ref.assetUrl;
|
||||
}
|
||||
const fileId = extractFileId(assetUrl);
|
||||
const version = parseInt(extractFileVersion(assetUrl), 10);
|
||||
if (!fileId || !version) {
|
||||
|
||||
Reference in New Issue
Block a user