Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

feat(photos):show-custom-domain-subtitle

Aswin Asoka50e8c3774af
diff --git a/web/apps/photos/src/components/sidebar/preferences/Preferences.tsx b/web/apps/photos/src/components/sidebar/preferences/Preferences.tsx
index 80b8274995..b5f0a520b0 100644
--- a/web/apps/photos/src/components/sidebar/preferences/Preferences.tsx
+++ b/web/apps/photos/src/components/sidebar/preferences/Preferences.tsx
@@ -99,7 +99,7 @@ export const Preferences: React.FC<PreferencesProps> = ({
const { show: showMLSettings, props: mlSettingsVisibilityProps } =
useModalVisibility();
- const { mapEnabled } = useSettingsSnapshot();
+ const { mapEnabled, customDomain } = useSettingsSnapshot();
const [mapErrorMessage, setMapErrorMessage] = useState<string>();
const handleToggleMap = useCallback(() => {
setMapErrorMessage(undefined);
@@ -195,6 +195,7 @@ export const Preferences: React.FC<PreferencesProps> = ({
)}
<RowCard
title={t("custom_domains")}
+ subtitle={customDomain || t("none")}
onClick={showDomainSettings}
/>
<Stack>