fix(core): add missing control of modifyDocDefaultRole track event (#10625)

This commit is contained in:
JimmFly
2025-03-05 11:02:45 +00:00
parent cb37c25b14
commit bb4240f6ef
2 changed files with 6 additions and 1 deletions

View File

@@ -56,7 +56,9 @@ export const MembersPermission = ({
const changePermission = useAsyncCallback(
async (docRole: DocRole) => {
try {
track.$.sharePanel.$.modifyDocDefaultRole();
track.$.sharePanel.$.modifyDocDefaultRole({
control: docRole,
});
await docGrantedUsersService.updateDocDefaultRole(docRole);
shareInfoService.shareInfo.revalidate();
} catch (error) {