aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src
diff options
context:
space:
mode:
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>2024-01-23 11:01:29 +0100
committersonartech <sonartech@sonarsource.com>2024-01-24 20:03:33 +0000
commitc7d0bb440b8e6bf4c625463b05ec390f1a7a27ab (patch)
treed63fb66278d829d8a3d182e618193a4b0ed7f19a /server/sonar-web/design-system/src
parentb0c0ca16a0112de6bfcdb5841c26268d551fbe03 (diff)
downloadsonarqube-c7d0bb440b8e6bf4c625463b05ec390f1a7a27ab.tar.gz
sonarqube-c7d0bb440b8e6bf4c625463b05ec390f1a7a27ab.zip
SONAR-21422 Migrating projects management page to adopt new UI
Diffstat (limited to 'server/sonar-web/design-system/src')
-rw-r--r--server/sonar-web/design-system/src/components/input/InputSearch.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/input/InputSearch.tsx b/server/sonar-web/design-system/src/components/input/InputSearch.tsx
index c5b47c07fde..e3288bbc497 100644
--- a/server/sonar-web/design-system/src/components/input/InputSearch.tsx
+++ b/server/sonar-web/design-system/src/components/input/InputSearch.tsx
@@ -75,7 +75,6 @@ export function InputSearch(props: PropsWithChildren<Props>) {
value: parentValue,
searchInputAriaLabel,
} = props;
-
const intl = useIntl();
const input = useRef<null | HTMLElement>(null);
const [value, setValue] = useState(parentValue ?? '');
@@ -84,6 +83,7 @@ export function InputSearch(props: PropsWithChildren<Props>) {
() =>
debounce((val: string) => {
onChange(val);
+ setDirty(false);
}, DEBOUNCE_DELAY),
[onChange],
);