diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/components/UserForm.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/components/UserForm.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx index 75b581deea3..381d58ff3df 100644 --- a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx +++ b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx @@ -27,6 +27,7 @@ import Modal from '../../../components/controls/Modal'; import { Button, ResetButtonLink, SubmitButton } from '../../../components/ui/buttons'; import { translate, translateWithParameters } from '../../../helpers/l10n'; import { parseError } from '../../../helpers/request'; +import { Alert } from '../../../components/ui/Alert'; export interface Props { user?: User; @@ -163,7 +164,7 @@ export default class UserForm extends React.PureComponent<Props, State> { </header> <div className="modal-body"> - {error && <p className="alert alert-danger">{error}</p>} + {error && <Alert variant="error">{error}</Alert>} {!user && ( <div className="modal-field"> |