diff --git a/products/ASC.People/Client/src/components/pages/Profile/index.js b/products/ASC.People/Client/src/components/pages/Profile/index.js index 0830c84c3b..79718f4c2c 100644 --- a/products/ASC.People/Client/src/components/pages/Profile/index.js +++ b/products/ASC.People/Client/src/components/pages/Profile/index.js @@ -21,7 +21,7 @@ const Profile = (props) => { const [isArticlePinned, setIsArticlePinned] = useState(false); useEffect(() => { - if (userId === "@self") { + if (userId === "@self" || userId === auth.user.userName) { setProfile(auth.user); setLoaded(true); } else { @@ -84,7 +84,7 @@ const Profile = (props) => { - +