mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Fix clearing pending changes for First Run
`TypeError: can't access property "section", a is undefined`
This commit is contained in:
@@ -54,7 +54,7 @@ export default function AuthenticationRequiredModalContent() {
|
|||||||
dispatch(fetchGeneralSettings());
|
dispatch(fetchGeneralSettings());
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
dispatch(clearPendingChanges());
|
dispatch(clearPendingChanges({ section: \`settings.\${SECTION}\` }));
|
||||||
};
|
};
|
||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user