diff --git a/frontend/src/pages/SettingsApplication.tsx b/frontend/src/pages/SettingsApplication.tsx index 9cfeea8b..acc9aae7 100644 --- a/frontend/src/pages/SettingsApplication.tsx +++ b/frontend/src/pages/SettingsApplication.tsx @@ -50,8 +50,11 @@ const SettingsApplication = () => { const [currentThrottledRate, setCurrentThrottledRate] = useState(null); const [currentScrapingSleep, setCurrentScrapingSleep] = useState(null); const [currentAutodelete, setCurrentAutodelete] = useState(null); - const [currentAutodeleteEmptyChannels, setCurrentAutodeleteEmptyChannels] = useState(false); - const [currentAutodeleteEmptyPlaylists, setCurrentAutodeleteEmptyPlaylists] = useState(false); + const [currentAutodeleteEmptyChannels, setCurrentAutodeleteEmptyChannels] = + useState(false); + const [currentAutodeleteEmptyPlaylists, setCurrentAutodeleteEmptyPlaylists] = + useState(false); + // Download Format const [downloadsFormat, setDownloadsFormat] = useState(null); const [downloadsFormatSort, setDownloadsFormatSort] = useState(null); @@ -107,8 +110,12 @@ const SettingsApplication = () => { setCurrentThrottledRate(appSettingsConfigData?.downloads.throttledratelimit || null); setCurrentScrapingSleep(appSettingsConfigData?.downloads.sleep_interval || null); setCurrentAutodelete(appSettingsConfigData?.downloads.autodelete_days || null); - setCurrentAutodeleteEmptyChannels(appSettingsConfigData?.downloads.autodelete_empty_channels || false); - setCurrentAutodeleteEmptyPlaylists(appSettingsConfigData?.downloads.autodelete_empty_playlists || false); + setCurrentAutodeleteEmptyChannels( + appSettingsConfigData?.downloads.autodelete_empty_channels || false, + ); + setCurrentAutodeleteEmptyPlaylists( + appSettingsConfigData?.downloads.autodelete_empty_playlists || false, + ); // Download Format setDownloadsFormat(appSettingsConfigData?.downloads.format || null);