From c394fb76c61b1fce140ef6c9dd7138ef48220670 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 12 Jun 2023 06:08:25 -0600 Subject: [PATCH] Update sidebar/settings --- app/Http/Controllers/SettingsController.php | 4 +--- .../views/settings/partial/sidebar.blade.php | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 9b3f03d05..a2459f2d1 100644 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -81,14 +81,12 @@ class SettingsController extends Controller public function dataImport() { - abort_if(!config_cache('pixelfed.import.instagram.enabled'), 404); return view('settings.import.home'); } public function dataImportInstagram() { - abort_if(!config_cache('pixelfed.import.instagram.enabled'), 404); - return view('settings.import.instagram.home'); + abort(404); } public function developers() diff --git a/resources/views/settings/partial/sidebar.blade.php b/resources/views/settings/partial/sidebar.blade.php index 34f12971b..b4acf8c9b 100644 --- a/resources/views/settings/partial/sidebar.blade.php +++ b/resources/views/settings/partial/sidebar.blade.php @@ -1,5 +1,5 @@ -
-