From 4d7fc6d54255128aebd8f2d1f0692265c82051fc Mon Sep 17 00:00:00 2001 From: sai80082 Date: Wed, 28 Aug 2024 14:40:55 +0530 Subject: [PATCH] chore: upadted profile section with both internal and external url --- src/components/shared/ProfileInfo.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/shared/ProfileInfo.tsx b/src/components/shared/ProfileInfo.tsx index 837fb67..587d012 100644 --- a/src/components/shared/ProfileInfo.tsx +++ b/src/components/shared/ProfileInfo.tsx @@ -6,7 +6,7 @@ import Link from "next/link"; import { useConfig } from "@/contexts/ConfigContext"; export default function ProfileInfo() { - const { immichURL } = useConfig(); + const { immichURL,exImmichUrl } = useConfig(); const [user, setUser] = React.useState(null); const [loading, setLoading] = React.useState(true); const [errorMessage, setErrorMessage] = useState(null); @@ -30,7 +30,11 @@ export default function ProfileInfo() { return ( <>
-

Connected to

+

Connected to (External)

+ + {exImmichUrl} + +

Connected to (Internal)

{immichURL}