Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: don't show monograph view count when self destruct enabled Signed-off-by: 01zulfi <[email protected]>

01zulfida48cf0bd1c4
diff --git a/apps/web/src/components/publish-view/index.tsx b/apps/web/src/components/publish-view/index.tsx
index d1d6b7776..611795ab1 100644
--- a/apps/web/src/components/publish-view/index.tsx
+++ b/apps/web/src/components/publish-view/index.tsx
@@ -171,7 +171,7 @@ function PublishView(props: PublishViewProps) {
</Text>
</Flex>
) : null}
- {monograph?.id ? (
+ {monograph?.id && !selfDestruct ? (
<Flex
sx={{
alignItems: "center",