Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Minor fixes #1229

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion client/src/components/MarkdownWithCode/LinkRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ const LinkRenderer = ({
return (
<>
{filePath.endsWith('/') ? (
<FolderChip onClick={handleClickFolder} path={path} repoRef={repo} />
<FolderChip
onClick={handleClickFolder}
path={path || filePath || ''}
repoRef={repo}
/>
) : (
<FileChip
fileName={fileName || path || ''}
Expand Down