Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):preserve-existing-help-items

Aswin Asokbb30296b9c6a
diff --git a/web/apps/photos/src/components/sidebar/Help.tsx b/web/apps/photos/src/components/sidebar/Help.tsx
index 69af0464e1..97803c7b39 100644
--- a/web/apps/photos/src/components/sidebar/Help.tsx
+++ b/web/apps/photos/src/components/sidebar/Help.tsx
@@ -1,5 +1,4 @@
-import { Divider, Stack, Typography } from "@mui/material";
-import { desktopAppVersion } from "ente-base/app";
+import { Divider, Stack } from "@mui/material";
import {
TitledNestedSidebarDrawer,
type NestedSidebarDrawerVisibilityProps,
@@ -125,6 +124,11 @@ export const Help: React.FC<HelpProps> = ({
subtitle="ente.com/help/photos"
onClick={handleHelp}
/>
+ <RowCard
+ title={t("blog")}
+ subtitle="ente.com/blog"
+ onClick={handleBlog}
+ />
<RowCard
title="Request a feature"
subtitle="github.com/ente/ente"
@@ -141,41 +145,6 @@ export const Help: React.FC<HelpProps> = ({
subtitle="Share with support when something goes wrong"
onClick={confirmViewLogs}
/>
- <Stack
- direction="row"
- sx={{
- p: "14px 8px 14px 0.5rem",
- justifyContent: "space-between",
- alignItems: "center",
- }}
- >
- <Stack>
- <Typography sx={{ fontWeight: "medium" }}>
- About
- </Typography>
- <Typography
- variant="small"
- sx={{
- color: "text.muted",
- fontWeight: 400,
- lineHeight: "20px",
- }}
- >
- {desktopAppVersion
- ? `Photos v${desktopAppVersion}`
- : "Ente Photos"}
- </Typography>
- </Stack>
- {desktopAppVersion && (
- <Typography
- variant="small"
- sx={{ color: "text.muted", fontWeight: 400 }}
- >
- {`v${desktopAppVersion}`}
- </Typography>
- )}
- </Stack>
- <Divider sx={{ my: 1, opacity: 0.4 }} />
</Stack>
</TitledNestedSidebarDrawer>
);