mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Fix: Adding a new root folder from add movie modal
(cherry picked from commit 983b079c8257790b52d7f63b2aa8051e88c7ceb2)
This commit is contained in:
@@ -141,7 +141,7 @@ function RootFolderSelectInput({
|
|||||||
const handleNewRootFolderSelect = useCallback(
|
const handleNewRootFolderSelect = useCallback(
|
||||||
({ value: newValue }: InputChanged<string>) => {
|
({ value: newValue }: InputChanged<string>) => {
|
||||||
setNewRootFolderPath(newValue);
|
setNewRootFolderPath(newValue);
|
||||||
dispatch(addRootFolder(newValue));
|
dispatch(addRootFolder({ path: newValue }));
|
||||||
},
|
},
|
||||||
[setNewRootFolderPath, dispatch]
|
[setNewRootFolderPath, dispatch]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user