aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings/store
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/store')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/store/definitions/reducer.js4
-rw-r--r--server/sonar-web/src/main/js/apps/settings/store/licenses/reducer.js2
-rw-r--r--server/sonar-web/src/main/js/apps/settings/store/settingsPage/changedValues/reducer.js2
-rw-r--r--server/sonar-web/src/main/js/apps/settings/store/values/reducer.js2
4 files changed, 4 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/store/definitions/reducer.js b/server/sonar-web/src/main/js/apps/settings/store/definitions/reducer.js
index 4e96d1018de..6d473517a27 100644
--- a/server/sonar-web/src/main/js/apps/settings/store/definitions/reducer.js
+++ b/server/sonar-web/src/main/js/apps/settings/store/definitions/reducer.js
@@ -18,9 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// @flow
-import keyBy from 'lodash/keyBy';
-import sortBy from 'lodash/sortBy';
-import uniqBy from 'lodash/uniqBy';
+import { keyBy, sortBy, uniqBy } from 'lodash';
import { RECEIVE_DEFINITIONS } from './actions';
import { DEFAULT_CATEGORY, getCategoryName } from '../../utils';
import type { Definition } from '../../types';
diff --git a/server/sonar-web/src/main/js/apps/settings/store/licenses/reducer.js b/server/sonar-web/src/main/js/apps/settings/store/licenses/reducer.js
index a8732d8f697..35f68211c16 100644
--- a/server/sonar-web/src/main/js/apps/settings/store/licenses/reducer.js
+++ b/server/sonar-web/src/main/js/apps/settings/store/licenses/reducer.js
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import keyBy from 'lodash/keyBy';
+import { keyBy } from 'lodash';
import { RECEIVE_LICENSES } from './actions';
const reducer = (state = {}, action = {}) => {
diff --git a/server/sonar-web/src/main/js/apps/settings/store/settingsPage/changedValues/reducer.js b/server/sonar-web/src/main/js/apps/settings/store/settingsPage/changedValues/reducer.js
index dcafa07b34f..a1899f4bd22 100644
--- a/server/sonar-web/src/main/js/apps/settings/store/settingsPage/changedValues/reducer.js
+++ b/server/sonar-web/src/main/js/apps/settings/store/settingsPage/changedValues/reducer.js
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import omit from 'lodash/omit';
+import { omit } from 'lodash';
import { CHANGE_VALUE, CANCEL_CHANGE } from './actions';
const reducer = (state = {}, action = {}) => {
diff --git a/server/sonar-web/src/main/js/apps/settings/store/values/reducer.js b/server/sonar-web/src/main/js/apps/settings/store/values/reducer.js
index 1e75fe48727..c78b114484c 100644
--- a/server/sonar-web/src/main/js/apps/settings/store/values/reducer.js
+++ b/server/sonar-web/src/main/js/apps/settings/store/values/reducer.js
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// @flow
-import keyBy from 'lodash/keyBy';
+import { keyBy } from 'lodash';
import { RECEIVE_VALUES } from './actions';
type State = { [key: string]: {} };