aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users')
-rw-r--r--server/sonar-web/src/main/js/apps/users/components/UsersAppContainer.js3
-rw-r--r--server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.js.snap6
2 files changed, 6 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/components/UsersAppContainer.js b/server/sonar-web/src/main/js/apps/users/components/UsersAppContainer.js
index d70383fd891..3dae41946b2 100644
--- a/server/sonar-web/src/main/js/apps/users/components/UsersAppContainer.js
+++ b/server/sonar-web/src/main/js/apps/users/components/UsersAppContainer.js
@@ -18,6 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from 'react';
+import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import init from '../init';
@@ -26,7 +27,7 @@ import { translate } from '../../../helpers/l10n';
class UsersAppContainer extends React.PureComponent {
static propTypes = {
- currentUser: React.PropTypes.object.isRequired
+ currentUser: PropTypes.object.isRequired
};
componentDidMount() {
diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.js.snap b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.js.snap
index 23e19035a29..483f49d3ea0 100644
--- a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.js.snap
+++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.js.snap
@@ -9,8 +9,10 @@ exports[`should render correctly 1`] = `
backspaceToRemoveMessage="Press backspace to remove {label}"
className="Select-big"
clearAllText="Clear all"
+ clearRenderer={[Function]}
clearValueText="Clear value"
clearable={false}
+ deleteRemoves={true}
delimiter=","
disabled={false}
escapeClearsValue={true}
@@ -31,7 +33,6 @@ exports[`should render correctly 1`] = `
onChange={[Function]}
onCloseResetsInput={true}
onInputChange={[Function]}
- openAfterFocus={false}
optionComponent={[Function]}
options={Array []}
pageSize={5}
@@ -77,8 +78,10 @@ exports[`should render correctly 3`] = `
backspaceToRemoveMessage="Press backspace to remove {label}"
className="Select-big"
clearAllText="Clear all"
+ clearRenderer={[Function]}
clearValueText="Clear value"
clearable={false}
+ deleteRemoves={true}
delimiter=","
disabled={false}
escapeClearsValue={true}
@@ -99,7 +102,6 @@ exports[`should render correctly 3`] = `
onChange={[Function]}
onCloseResetsInput={true}
onInputChange={[Function]}
- openAfterFocus={false}
optionComponent={[Function]}
options={
Array [