Fixed: Bulk Collection RootFolder change failure

This commit is contained in:
Qstick 2022-07-15 21:56:49 -05:00
parent 2bb7984961
commit cc306fcd36
1 changed files with 6 additions and 1 deletions

View File

@ -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);
};