1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-21 23:33:00 +00: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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,7 @@ function RootFolderSelectInput({
const handleNewRootFolderSelect = useCallback(
({ value: newValue }: InputChanged<string>) => {
setNewRootFolderPath(newValue);
dispatch(addRootFolder(newValue));
dispatch(addRootFolder({ path: newValue }));
},
[setNewRootFolderPath, dispatch]
);