We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2bd3f3 commit fde3d03Copy full SHA for fde3d03
1 file changed
frontend/src/components/Layout.tsx
@@ -251,10 +251,14 @@ export default function Layout() {
251
: getFeedTitle(selectedFeed.value, tagTitle(appState.queryParams.value.tag))
252
}
253
</span>
254
- <span className="mx-3">|</span>
255
- <span onDblClick={scrollEntry}>
256
- {getEntryTitle(selectedEntry.value)}
257
- </span>
+ {selectedEntry.value &&
+ <>
+ <span className="mx-3">|</span>
+ <span onDblClick={scrollEntry}>
258
+ {getEntryTitle(selectedEntry.value)}
259
+ </span>
260
+ </>
261
+ }
262
</>
263
</Typography>
264
0 commit comments