From 911faeff562b737a2d18a395fcd90bf354af0cc4 Mon Sep 17 00:00:00 2001 From: sct Date: Thu, 1 Apr 2021 15:16:16 +0900 Subject: [PATCH] revert(ui): remove local image cache option from settings page this commit removes the local cache option for the settings page. The feature will still function but must be manually enabled in the `settings.json` file. We will add it back in later after resolving the current outstanding issues. --- src/components/Settings/SettingsMain.tsx | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/components/Settings/SettingsMain.tsx b/src/components/Settings/SettingsMain.tsx index b4a9c8fa7..177efd53f 100644 --- a/src/components/Settings/SettingsMain.tsx +++ b/src/components/Settings/SettingsMain.tsx @@ -145,7 +145,6 @@ const SettingsMain: React.FC = () => { originalLanguage: data?.originalLanguage, partialRequestsEnabled: data?.partialRequestsEnabled, trustProxy: data?.trustProxy, - cacheImages: data?.cacheImages, }} enableReinitialize validationSchema={MainSettingsSchema} @@ -160,7 +159,6 @@ const SettingsMain: React.FC = () => { originalLanguage: values.originalLanguage, partialRequestsEnabled: values.partialRequestsEnabled, trustProxy: values.trustProxy, - cacheImages: values.cacheImages, }); mutate('/api/v1/settings/public'); @@ -303,26 +301,6 @@ const SettingsMain: React.FC = () => { /> -
- -
- -
-