Fixed: Delete series

Closes #5333
This commit is contained in:
Mark McDowall 2023-01-01 08:35:54 -08:00
parent d8f6eaebdc
commit 09eea0571f
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ function createMapStateToProps() {
function createMapDispatchToProps(dispatch, props) { function createMapDispatchToProps(dispatch, props) {
return { return {
setDeleteOption(option) { onDeleteOptionChange(option) {
dispatch( dispatch(
setDeleteOption({ setDeleteOption({
[option.name]: option.value [option.name]: option.value
@ -27,7 +27,7 @@ function createMapDispatchToProps(dispatch, props) {
); );
}, },
onDeleteSelectedPress(deleteFiles, addImportListExclusion) { onDeletePress(deleteFiles, addImportListExclusion) {
dispatch( dispatch(
deleteSeries({ deleteSeries({
id: props.seriesId, id: props.seriesId,