From 1f8dded15ec625e1a1add45efd651452346872ec Mon Sep 17 00:00:00 2001
From: Rishi Ghan Something went wrong connecting to qBittorrent.
+ >
+ );
+ if (!isLoading) {
+ return (
+ <>
+
- {JSON.stringify(qbittorrentClientInfo?.data, null, 4)}
-
- >
- ) : (
- "Loading..."
- )}
- >
- );
+
+ {JSON.stringify(qbittorrentClientInfo?.data, null, 4)}
+
+ >
+ );
+ }
};
export default QbittorrentConnectionForm;
diff --git a/src/client/components/shared/ConnectionForm/ConnectionForm.tsx b/src/client/components/shared/ConnectionForm/ConnectionForm.tsx
index 5de58bc..a6b2ccd 100644
--- a/src/client/components/shared/ConnectionForm/ConnectionForm.tsx
+++ b/src/client/components/shared/ConnectionForm/ConnectionForm.tsx
@@ -93,6 +93,12 @@ export const ConnectionForm = ({
{!isEmpty(initialData) ? "Update" : "Save"}
+ +
)}