1
0
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:
Stevie Robinson
2024-12-21 01:13:30 +01:00
committed by Bogdan
parent 4c6f80b308
commit a9bbe06966
@@ -141,7 +141,7 @@ function RootFolderSelectInput({
const handleNewRootFolderSelect = useCallback(
({ value: newValue }: InputChanged<string>) => {
setNewRootFolderPath(newValue);
dispatch(addRootFolder(newValue));
dispatch(addRootFolder({ path: newValue }));
},
[setNewRootFolderPath, dispatch]
);