diff --git a/docker-env/threetwo-import-service.env b/docker-env/threetwo-import-service.env index 48e6c75..0d75170 100644 --- a/docker-env/threetwo-import-service.env +++ b/docker-env/threetwo-import-service.env @@ -1,7 +1,7 @@ LOGGER=true LOGLEVEL=info SERVICEDIR=dist/services -MONGO_URI=mongodb://db:27017/threetwo +MONGO_URI=mongodb://mongodb:27017/threetwo TRANSPORTER=nats://nats:4222 CALIBRE_PATH=/opt/calibre CACHER=Memory diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index f166250..9797457 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -44,8 +44,6 @@ type ComicDetailProps = {}; export const ComicDetail = ({}: ComicDetailProps): ReactElement => { const [page, setPage] = useState(1); const [visible, setVisible] = useState(false); - const [comicBookPagesGridVisible, setComicBookPagesGridVisible] = - useState(false); const [slidingPanelContentId, setSlidingPanelContentId] = useState(""); const comicVineSearchResults = useSelector( diff --git a/src/client/components/Settings.tsx b/src/client/components/Settings.tsx index 221d1ec..8086203 100644 --- a/src/client/components/Settings.tsx +++ b/src/client/components/Settings.tsx @@ -7,6 +7,32 @@ interface ISettingsProps {} export const Settings = (props: ISettingsProps): ReactElement => { const [active, setActive] = useState("gen-db"); + const settingsContent = [ + { + id: "adc-connection", + content: ( + <> +
+

+

AirDC++ Connection Settings

+
+ Configure AirDC++ connection settings such as hostname and + credentials +
+

+
+ + ), + }, + { + id: "adc-hubs", + content: ( + <> + + + ), + }, + ]; return (
@@ -64,8 +90,16 @@ export const Settings = (props: ISettingsProps): ReactElement => { })}
+ + {/* content for settings */} +
+
+ {map(settingsContent, ({ id, content }) => + active === id ? content : null, + )} +
+
-
); };