Integrations2 filtering small fix (#2148)
Integrations2 filtering small fix
This commit is contained in:
parent
d3247447ef
commit
1c07bec8fc
1 changed files with 5 additions and 2 deletions
|
|
@ -473,9 +473,12 @@ class Integrations extends React.Component<IntegrationsProps, IntegrationsState>
|
|||
applyFilters = () => {
|
||||
const { store } = this.props;
|
||||
const { alertReceiveChannelStore } = store;
|
||||
const { integrationsFilters, page } = this.state;
|
||||
const { integrationsFilters } = this.state;
|
||||
|
||||
return alertReceiveChannelStore.updatePaginatedItems(integrationsFilters, page);
|
||||
return alertReceiveChannelStore.updatePaginatedItems(integrationsFilters).then(() => {
|
||||
this.setState({ page: 1 });
|
||||
LocationHelper.update({ p: 1 }, 'partial');
|
||||
});
|
||||
};
|
||||
|
||||
debouncedUpdateIntegrations = debounce(this.applyFilters, FILTERS_DEBOUNCE_MS);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue