mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Refresh user dialog JSON tab
This commit is contained in:
+12
@@ -8501,6 +8501,18 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
API.$on('USER', function (args) {
|
||||||
|
// refresh user dialog JSON tab
|
||||||
|
if (
|
||||||
|
!$app.userDialog.visible ||
|
||||||
|
$app.userDialog.id !== args.ref.id ||
|
||||||
|
$app.$refs.userDialogTabs?.currentName !== '5'
|
||||||
|
) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$app.refreshUserDialogTreeData();
|
||||||
|
});
|
||||||
|
|
||||||
API.$on('WORLD', function (args) {
|
API.$on('WORLD', function (args) {
|
||||||
var D = $app.userDialog;
|
var D = $app.userDialog;
|
||||||
if (D.visible === false || D.$location.worldId !== args.ref.id) {
|
if (D.visible === false || D.$location.worldId !== args.ref.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user