We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2a969 commit d5ecf50Copy full SHA for d5ecf50
packages/frontend/mobile/src/pages/workspace/detail/mobile-detail-page.tsx
@@ -185,10 +185,12 @@ const DetailPageImpl = () => {
185
>
186
{/* Add a key to force rerender when page changed, to avoid error boundary persisting. */}
187
<AffineErrorBoundary key={doc.id}>
188
- <JournalIconButton
189
- docId={doc.id}
190
- className={styles.journalIconButton}
191
- />
+ {mode === 'page' && (
+ <JournalIconButton
+ docId={doc.id}
+ className={styles.journalIconButton}
192
+ />
193
+ )}
194
<PageDetailEditor
195
pageId={doc.id}
196
onLoad={onLoad}
0 commit comments