update group sidebar instances when fetching instance

This commit is contained in:
Natsumi
2025-07-29 17:48:55 +12:00
parent ab1529a800
commit 153d4d4a8a
2 changed files with 10 additions and 5 deletions

View File

@@ -416,6 +416,11 @@ export const useInstanceStore = defineStore('Instance', () => {
) {
applyGroupDialogInstances();
}
for (const groupInstance of groupStore.groupInstances) {
if (groupInstance.instance.id === ref.id) {
groupInstance.instance = ref;
}
}
return ref;
}