diff --git a/src/components/PermissionItems.vue b/src/components/PermissionItems.vue index 542f6e9..8eb8e7c 100644 --- a/src/components/PermissionItems.vue +++ b/src/components/PermissionItems.vue @@ -29,13 +29,13 @@
- +
{{ permission.permissionId }} {{ permission.description }}
- +
@@ -107,9 +107,7 @@ export default defineComponent({ async updateQuery() { await this.store.dispatch('permission/updateQuery', this.query) }, - async updatePermissionAssociation(event: any, permission: any) { - event.stopImmediatePropagation(); - + async updatePermissionAssociation(permission: any) { let resp = {} as any; const payload = { groupId: this.currentGroup.groupId, @@ -153,7 +151,6 @@ export default defineComponent({ showToast(translate("Security group permission association successfully updated.")) await this.store.dispatch('permission/updateCurrentGroupPermissions', { groupId: this.currentGroup.groupId, currentPermissions}) this.store.dispatch('permission/checkAssociated') - event.target.checked = !permission.isChecked } else { throw resp.data }