From 8a3db090d5daa13cef7590c944eb31efb071abb0 Mon Sep 17 00:00:00 2001 From: olav Date: Wed, 20 Apr 2022 16:08:15 +0200 Subject: [PATCH] fix: improve avatar alt text (#892) * fix: improve avatar alt text * refactor: fix unknown avatar path on localhost --- .../assets/icons/unknownUser.png} | Bin .../UsersList/ChangePassword/ChangePassword.tsx | 2 +- .../admin/users/UsersList/DeleteUser/DeleteUser.tsx | 2 +- .../users/UsersList/UserListItem/UserListItem.tsx | 2 +- .../ProjectAccessListItem/ProjectAccessListItem.tsx | 2 +- .../src/component/user/UserProfile/UserProfile.tsx | 5 +++-- .../UserProfileContent/UserProfileContent.tsx | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) rename frontend/{public/unknown-user.png => src/assets/icons/unknownUser.png} (100%) diff --git a/frontend/public/unknown-user.png b/frontend/src/assets/icons/unknownUser.png similarity index 100% rename from frontend/public/unknown-user.png rename to frontend/src/assets/icons/unknownUser.png diff --git a/frontend/src/component/admin/users/UsersList/ChangePassword/ChangePassword.tsx b/frontend/src/component/admin/users/UsersList/ChangePassword/ChangePassword.tsx index 3120a772aa..49a49861fb 100644 --- a/frontend/src/component/admin/users/UsersList/ChangePassword/ChangePassword.tsx +++ b/frontend/src/component/admin/users/UsersList/ChangePassword/ChangePassword.tsx @@ -104,7 +104,7 @@ const ChangePassword = ({
- + setShowProfile(false)}> @@ -69,7 +70,7 @@ const UserProfile = ({ disableRipple > diff --git a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx index fe11d22dcb..9cce505c70 100644 --- a/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx +++ b/frontend/src/component/user/UserProfile/UserProfileContent/UserProfileContent.tsx @@ -74,7 +74,7 @@ const UserProfileContent = ({ )} >