mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(users): "No permissions" error when users without user management permissions view their profile (#6382)
This commit is contained in:
parent
af4959cee7
commit
0bce6fe1dc
@ -74,7 +74,7 @@ const useUpdateProfileActionProps = () => {
|
||||
const useEditProfileFormBlockDecoratorProps = () => {
|
||||
const { data } = useCurrentUserContext() || {};
|
||||
return {
|
||||
filterByTk: data?.data?.id,
|
||||
record: data?.data,
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user