From 74382e376bfe75b521d95314cdfd93911fbfe252 Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Tue, 16 Nov 2021 16:48:18 +0100 Subject: [PATCH] SONAR-15498 Allow user to select project that already belongs to an other portfolio --- .../main/js/components/controls/SelectListListContainer.tsx | 3 ++- .../__snapshots__/SelectListListContainer-test.tsx.snap | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx b/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx index 288f23d5d9d..5b6e607c748 100644 --- a/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx +++ b/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx @@ -18,6 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import classNames from 'classnames'; +import { uniqueId } from 'lodash'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import DeferredSpinner from '../ui/DeferredSpinner'; @@ -115,7 +116,7 @@ export default class SelectListListContainer extends React.PureComponent