1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

Fix: Adding a new root folder from edit series modal

Closes #7497
This commit is contained in:
Stevie Robinson
2024-12-21 01:13:30 +01:00
committed by GitHub
parent edfc12e27a
commit 983b079c82
@@ -134,7 +134,7 @@ function RootFolderSelectInput({
const handleNewRootFolderSelect = useCallback(
({ value: newValue }: InputChanged<string>) => {
setNewRootFolderPath(newValue);
dispatch(addRootFolder(newValue));
dispatch(addRootFolder({ path: newValue }));
},
[setNewRootFolderPath, dispatch]
);