diff --git a/web/src/components/data-table/Cells.tsx b/web/src/components/data-table/Cells.tsx index decec4a..08c2b7c 100644 --- a/web/src/components/data-table/Cells.tsx +++ b/web/src/components/data-table/Cells.tsx @@ -115,8 +115,7 @@ const CellLine = ({ title, children }: { title: string; children?: string; }) => return (
- {title} - {": "} + {title}: {children}
); diff --git a/web/src/components/debug.tsx b/web/src/components/debug.tsx index b96dd31..16bcdc3 100644 --- a/web/src/components/debug.tsx +++ b/web/src/components/debug.tsx @@ -1,11 +1,14 @@ import { FC } from "react"; +import { SettingsContext } from "../utils/Context"; interface DebugProps { values: unknown; } const DEBUG: FC = ({ values }) => { - if (process.env.NODE_ENV !== "development") { + const settings = SettingsContext.useValue(); + + if (process.env.NODE_ENV !== "development" || !settings.debug) { return null; } diff --git a/web/src/forms/settings/IrcForms.tsx b/web/src/forms/settings/IrcForms.tsx index d95ca74..7044b05 100644 --- a/web/src/forms/settings/IrcForms.tsx +++ b/web/src/forms/settings/IrcForms.tsx @@ -163,7 +163,7 @@ export function IrcNetworkAddForm({ isOpen, toggle }: AddFormProps) { > {(values) => (
-
ADD NETWORKS VIA INDEXERS! ONLY USE THIS IS YOU DELETED NETWORKS
+
ADD NETWORKS VIA INDEXERS! ONLY USE THIS IF YOU DELETED NETWORKS
-
+
{headerGroups.map((headerGroup) => { diff --git a/web/src/screens/filters/details.tsx b/web/src/screens/filters/details.tsx index 1b6eeb6..34a0a08 100644 --- a/web/src/screens/filters/details.tsx +++ b/web/src/screens/filters/details.tsx @@ -108,17 +108,22 @@ const FormButtonsGroup = ({ values, deleteAction, reset }: FormButtonsGroupProps className="inline-flex items-center justify-center px-4 py-2 rounded-md text-red-700 dark:text-red-500 light:bg-red-100 light:hover:bg-red-200 dark:hover:text-red-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:text-sm" onClick={toggleDeleteModal} > - Remove + Remove
{/* {dirty && Unsaved changes..} */}
- - + + +
{client.name}{client.host}{DownloadClientTypeNameMap[client.type]}{client.name}{client.host}{DownloadClientTypeNameMap[client.type]} Edit @@ -91,8 +91,8 @@ function DownloadClientSettings() { -
-
+
+

Clients

@@ -112,8 +112,8 @@ function DownloadClientSettings() {

{data && data.length > 0 ? -
-
+
+