@@ -35,7 +35,7 @@ function FormFieldsArr() {
{input.value === true && (
-
+
)}
diff --git a/web/src/screens/settings/DownloadClient.tsx b/web/src/screens/settings/DownloadClient.tsx
index 4ec45ea..2206aff 100644
--- a/web/src/screens/settings/DownloadClient.tsx
+++ b/web/src/screens/settings/DownloadClient.tsx
@@ -15,15 +15,8 @@ interface DownloadLClientSettingsListItemProps {
}
function DownloadClientSettingsListItem({ client, idx }: DownloadLClientSettingsListItemProps) {
- const [enabled, setEnabled] = useState(client.enabled)
const [updateClientIsOpen, toggleUpdateClient] = useToggle(false)
- const toggleActive = (status: boolean) => {
- console.log(status)
- setEnabled(status)
- // call api
- }
-
return (
{updateClientIsOpen &&
@@ -32,7 +25,7 @@ function DownloadClientSettingsListItem({ client, idx }: DownloadLClientSettings
|
{client.name} |
+ {client.host} |
{DownloadClientTypeNameMap[client.type]} |
@@ -115,6 +109,12 @@ function DownloadClientSettings() {
>
Name
+ |
+ Host
+ |
|