diff --git a/src/api/group.js b/src/api/group.js index 7f7f119d..da6d7ef4 100644 --- a/src/api/group.js +++ b/src/api/group.js @@ -727,6 +727,21 @@ const groupReq = { return request(`calendar/featured?date=${date}`, { method: 'GET' }); + }, + + followGroupEvent(params) { + return request(`calendar/${params.groupId}/${params.eventId}/follow`, { + method: 'POST', + params: { + isFollowing: params.isFollowing + } + }).then((json) => { + const args = { + json, + params + }; + return args; + }); } // getRequestedGroups() { diff --git a/src/views/Settings/dialogs/VRChatConfigDialog.vue b/src/views/Settings/dialogs/VRChatConfigDialog.vue index 9370ffb3..0089fa6f 100644 --- a/src/views/Settings/dialogs/VRChatConfigDialog.vue +++ b/src/views/Settings/dialogs/VRChatConfigDialog.vue @@ -277,7 +277,18 @@ } async function deleteAllVRChatCache() { - await AssetBundleManager.DeleteAllCache(); + try { + await AssetBundleManager.DeleteAllCache(); + ElMessage({ + message: 'All VRChat cache deleted', + type: 'success' + }); + } catch (error) { + ElMessage({ + message: `Error deleting VRChat cache: ${error.message}`, + type: 'error' + }); + } getVRChatCacheSize(); } diff --git a/src/views/Tools/components/GroupCalendarEventCard.vue b/src/views/Tools/components/GroupCalendarEventCard.vue index 632cc825..f5366396 100644 --- a/src/views/Tools/components/GroupCalendarEventCard.vue +++ b/src/views/Tools/components/GroupCalendarEventCard.vue @@ -56,20 +56,24 @@ -
- +
+ +
+
+