X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/925a083d8e82281a6d1de1f1021a88da147e5bac..7435f8f863ff94834d7188772547cfb0cd4ba1d4:/src/views/user-profile-panel/user-profile-panel-root.tsx diff --git a/src/views/user-profile-panel/user-profile-panel-root.tsx b/src/views/user-profile-panel/user-profile-panel-root.tsx index a725333d..76cad8a5 100644 --- a/src/views/user-profile-panel/user-profile-panel-root.tsx +++ b/src/views/user-profile-panel/user-profile-panel-root.tsx @@ -71,6 +71,8 @@ export interface UserProfilePanelRootActionProps { } export interface UserProfilePanelRootDataProps { + isAdmin: boolean; + isSelf: boolean; isPristine: boolean; isValid: boolean; initialValues?: User; @@ -150,95 +152,97 @@ export const UserProfilePanelRoot = withStyles(styles)( - + {this.state.value === 0 && - // - -
- - - - - - - - - - - - - - - - - - - - - Role - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + Role + + + + + + + + + - - - //
+ + + } {this.state.value === 1 &&