mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
fix uncaught errors
This commit is contained in:
@@ -55,9 +55,14 @@
|
||||
groupName.value = props.grouphint;
|
||||
} else if (locObj.groupId) {
|
||||
groupName.value = locObj.groupId;
|
||||
getGroupName(locObj.groupId).then((name) => {
|
||||
groupName.value = name;
|
||||
});
|
||||
getGroupName(locObj.groupId)
|
||||
.then((name) => {
|
||||
groupName.value = name;
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to get group name:', error);
|
||||
groupName.value = '';
|
||||
});
|
||||
} else {
|
||||
groupName.value = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user