From cc306fcd36eebc86edecb26e7fc09acce489d70f Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 15 Jul 2022 21:56:49 -0500 Subject: [PATCH] Fixed: Bulk Collection RootFolder change failure --- frontend/src/Collection/CollectionFooter.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/Collection/CollectionFooter.js b/frontend/src/Collection/CollectionFooter.js index c746e043b..d8812d5e5 100644 --- a/frontend/src/Collection/CollectionFooter.js +++ b/frontend/src/Collection/CollectionFooter.js @@ -66,7 +66,8 @@ class CollectionFooter extends Component { monitor, monitored, qualityProfileId, - minimumAvailability + minimumAvailability, + rootFolderPath } = this.state; const changes = {}; @@ -87,6 +88,10 @@ class CollectionFooter extends Component { changes.minimumAvailability = minimumAvailability; } + if (rootFolderPath !== NO_CHANGE) { + changes.rootFolderPath = rootFolderPath; + } + this.props.onUpdateSelectedPress(changes); };