diff --git a/Jenkinsfile b/Jenkinsfile index 21e03f6d0a..aa6cd6b33b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ #!groovy // Keep the version in sync with the one used in pom.xml in order to get correct syntax completion. -@Library('github.com/cloudogu/ces-build-lib@9aadeeb') +@Library('github.com/cloudogu/ces-build-lib@59d3e94') import com.cloudogu.ces.cesbuildlib.* node() { // No specific label diff --git a/scm-ui/src/users/components/UserForm.js b/scm-ui/src/users/components/UserForm.js index b93877e0e3..40ecf4504a 100644 --- a/scm-ui/src/users/components/UserForm.js +++ b/scm-ui/src/users/components/UserForm.js @@ -9,7 +9,6 @@ import Loading from "../../components/Loading"; type Props = { submitForm: User => void, user?: User, - loading?: boolean, t: string => string }; @@ -39,49 +38,49 @@ class UserForm extends React.Component { render() { const { t } = this.props; const user = this.state; - if (user) { - return ( -
- - - - - - - - + + let nameField = null; + if (!this.props.user) { + nameField = ( + ); - } else { - return ; } + return ( +
+ {nameField} + + + + + + + + ); } handleUsernameChange = (name: string) => {