refactor: use setter functions for dialog visibility and favorite status in stores

This commit is contained in:
pa
2026-03-08 20:58:33 +09:00
parent ae0152c28e
commit c55d5f0ec7
19 changed files with 376 additions and 102 deletions

View File

@@ -966,6 +966,13 @@ export const useGroupStore = defineStore('Group', () => {
groupInstances.value = [];
}
/**
* @param {boolean} value
*/
function setGroupDialogVisible(value) {
groupDialog.value.visible = value;
}
/**
*
* @param {object} json
@@ -1202,6 +1209,7 @@ export const useGroupStore = defineStore('Group', () => {
handleGroupPost,
handleGroupUserInstances,
clearGroupInstances,
setGroupDialogVisible,
handleGroupMember,
handleGroupPermissions,
handleGroupMemberProps,