mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-29 19:53:47 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -962,6 +962,10 @@ export const useGroupStore = defineStore('Group', () => {
|
||||
}
|
||||
}
|
||||
|
||||
function clearGroupInstances() {
|
||||
groupInstances.value = [];
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {object} json
|
||||
@@ -1197,6 +1201,7 @@ export const useGroupStore = defineStore('Group', () => {
|
||||
loadCurrentUserGroups,
|
||||
handleGroupPost,
|
||||
handleGroupUserInstances,
|
||||
clearGroupInstances,
|
||||
handleGroupMember,
|
||||
handleGroupPermissions,
|
||||
handleGroupMemberProps,
|
||||
|
||||
Reference in New Issue
Block a user