mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Get group instances when not in group
This commit is contained in:
+25
-31
@@ -471,38 +471,32 @@ export const useGroupStore = defineStore('Group', () => {
|
|||||||
groupId
|
groupId
|
||||||
});
|
});
|
||||||
D.isGetGroupDialogGroupLoading = true;
|
D.isGetGroupDialogGroupLoading = true;
|
||||||
if (D.inGroup) {
|
groupRequest
|
||||||
groupRequest
|
.getGroupInstances({
|
||||||
.getGroupInstances({
|
groupId
|
||||||
groupId
|
})
|
||||||
})
|
.then((args) => {
|
||||||
.then((args) => {
|
if (state.groupDialog.id === args.params.groupId) {
|
||||||
if (
|
instanceStore.applyGroupDialogInstances(
|
||||||
state.groupDialog.id === args.params.groupId
|
args.json.instances
|
||||||
) {
|
);
|
||||||
instanceStore.applyGroupDialogInstances(
|
}
|
||||||
args.json.instances
|
for (const json of args.json.instances) {
|
||||||
);
|
instanceStore.applyInstance(json);
|
||||||
}
|
worldRequest
|
||||||
for (const json of args.json.instances) {
|
.getCachedWorld({
|
||||||
instanceStore.applyInstance(json);
|
worldId: json.world.id
|
||||||
worldRequest
|
})
|
||||||
.getCachedWorld({
|
.then((args1) => {
|
||||||
worldId: json.world.id
|
json.world = args1.ref;
|
||||||
})
|
|
||||||
.then((args1) => {
|
|
||||||
json.world = args1.ref;
|
|
||||||
return args1;
|
|
||||||
});
|
|
||||||
// get queue size etc
|
|
||||||
instanceRequest.getInstance({
|
|
||||||
worldId: json.worldId,
|
|
||||||
instanceId: json.instanceId
|
|
||||||
});
|
});
|
||||||
}
|
// get queue size etc
|
||||||
// });
|
instanceRequest.getInstance({
|
||||||
});
|
worldId: json.worldId,
|
||||||
}
|
instanceId: json.instanceId
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
nextTick(() => (D.isGetGroupDialogGroupLoading = false));
|
nextTick(() => (D.isGetGroupDialogGroupLoading = false));
|
||||||
return args;
|
return args;
|
||||||
|
|||||||
Reference in New Issue
Block a user