From 09eea0571fb2045e18b12c0ca1f006dc7a3c7097 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 1 Jan 2023 08:35:54 -0800 Subject: [PATCH] Fixed: Delete series Closes #5333 --- .../src/Series/Delete/DeleteSeriesModalContentConnector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Series/Delete/DeleteSeriesModalContentConnector.js b/frontend/src/Series/Delete/DeleteSeriesModalContentConnector.js index 17d512a19..9cc7ddd75 100644 --- a/frontend/src/Series/Delete/DeleteSeriesModalContentConnector.js +++ b/frontend/src/Series/Delete/DeleteSeriesModalContentConnector.js @@ -19,7 +19,7 @@ function createMapStateToProps() { function createMapDispatchToProps(dispatch, props) { return { - setDeleteOption(option) { + onDeleteOptionChange(option) { dispatch( setDeleteOption({ [option.name]: option.value @@ -27,7 +27,7 @@ function createMapDispatchToProps(dispatch, props) { ); }, - onDeleteSelectedPress(deleteFiles, addImportListExclusion) { + onDeletePress(deleteFiles, addImportListExclusion) { dispatch( deleteSeries({ id: props.seriesId,