X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/925a083d8e82281a6d1de1f1021a88da147e5bac..7435f8f863ff94834d7188772547cfb0cd4ba1d4:/src/views/user-profile-panel/user-profile-panel.tsx?ds=sidebyside

diff --git a/src/views/user-profile-panel/user-profile-panel.tsx b/src/views/user-profile-panel/user-profile-panel.tsx
index caac3e8c..2bafd9fa 100644
--- a/src/views/user-profile-panel/user-profile-panel.tsx
+++ b/src/views/user-profile-panel/user-profile-panel.tsx
@@ -23,7 +23,8 @@ const mapStateToProps = (state: RootState): UserProfilePanelRootDataProps => {
   // const subprocesses = getSubprocesses(uuid)(resources);
 
   return {
-
+    isAdmin: state.auth.user!.isAdmin,
+    isSelf: state.auth.user!.uuid === uuid,
     isPristine: isPristine(USER_PROFILE_FORM)(state),
     isValid: isValid(USER_PROFILE_FORM)(state),
     initialValues: user,
