From e59303641d03868b796a4d6f6e9562aaf947444e Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Fri, 15 Mar 2024 11:09:28 +0100 Subject: [PATCH] SONAR-21865 Fix Background Tasks' bad request --- .../src/main/js/apps/background-tasks/components/Search.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/Search.tsx b/server/sonar-web/src/main/js/apps/background-tasks/components/Search.tsx index 181bb68a2f9..3da2cf77431 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/Search.tsx +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/Search.tsx @@ -62,6 +62,10 @@ export default class Search extends React.PureComponent { this.props.onFilterUpdate({ query }); }; + handleReload = () => { + this.props.onReload(); + }; + handleReset = () => { this.props.onFilterUpdate(DEFAULT_FILTERS); }; @@ -142,7 +146,7 @@ export default class Search extends React.PureComponent { {translate('reload')} -- 2.39.5