From 850fc7516b7dff89e5b2147fbc045a8f9f158b37 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 8 Aug 2024 13:47:50 +0200 Subject: [PATCH] fix: move the API key field in the Jellyfin settings --- src/components/Settings/SettingsJellyfin.tsx | 42 +++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/src/components/Settings/SettingsJellyfin.tsx b/src/components/Settings/SettingsJellyfin.tsx index 74f757140..a627f6d31 100644 --- a/src/components/Settings/SettingsJellyfin.tsx +++ b/src/components/Settings/SettingsJellyfin.tsx @@ -622,6 +622,29 @@ const SettingsJellyfin: React.FC = ({ /> + + )} +
+ +
+
+ +
+ {errors.apiKey && touched.apiKey && ( +
{errors.apiKey}
+ )} +
+
+ {showAdvancedSettings && ( + <>
-
- -
-
- -
- {errors.apiKey && touched.apiKey && ( -
{errors.apiKey}
- )} -
-