Browse Source

SONAR-21865 Fix Background Tasks' bad request

tags/10.5.0.89998
Jeremy Davis 1 month ago
parent
commit
e59303641d

+ 5
- 1
server/sonar-web/src/main/js/apps/background-tasks/components/Search.tsx View File

@@ -62,6 +62,10 @@ export default class Search extends React.PureComponent<Props> {
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<Props> {
<ButtonSecondary
className="js-reload sw-mr-2"
disabled={loading}
onClick={this.props.onReload}
onClick={this.handleReload}
>
{translate('reload')}
</ButtonSecondary>

Loading…
Cancel
Save