mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +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 useEditProfileFormBlockDecoratorProps = () => {
|
||||||
const { data } = useCurrentUserContext() || {};
|
const { data } = useCurrentUserContext() || {};
|
||||||
return {
|
return {
|
||||||
filterByTk: data?.data?.id,
|
record: data?.data,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user