Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
updateResults() {
const action = request(
projectsAPI.resources(
this.props.project.id,
this.state.filter,
this.state.pagination
),
requests.feResources
);
this.props.dispatch(action);
}
fetchResources(page = 1) {
const pagination = { number: page, size: perPage };
const filters = this.props.entitiesListSearchParams.resources;
const action = request(
projectsAPI.resources(this.props.project.id, filters, pagination),
requests.beResources
);
this.props.dispatch(action);
}
fetchResources(page) {
this.lastFetchedPage = page;
const pagination = { number: page, size: perPage };
const action = request(
projectsAPI.resources(
this.props.projectId,
this.state.filter,
pagination
),
requests.beResources
);
this.props.dispatch(action);
}
fetchResources(page = 1) {
const pagination = { number: page, size: perPage };
const filters = this.props.entitiesListSearchParams.resources;
const projectId = this.props.resourceCollection.relationships.project.id;
const action = request(
projectsAPI.resources(projectId, filters, pagination),
requests.beResources
);
this.props.dispatch(action);
}
fetchResources(page) {
this.lastFetchedPage = page;
const pagination = { number: page, size: perPage };
const projectId = this.props.collection.relationships.project.id;
const action = request(
projectsAPI.resources(projectId, this.state.filter, pagination),
requests.beResources
);
this.props.dispatch(action);
}
fetchResources(page = 1) {
const pagination = { number: page, size: perPage };
const action = request(
projectsAPI.resources(this.props.projectId, this.filters, pagination),
requests.beResources
);
this.props.dispatch(action);
}