Skip to content

Commit 08a427c

Browse files
fix: prevent "0" rendering in file browser header when repoId is 0
1 parent d4d4962 commit 08a427c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/file-browser/FileBrowserSheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const FileBrowserSheet = memo(function FileBrowserSheet({ isOpen, onClose
156156
<PathDisplay path={displayPath} maxSegments={4} className="truncate" />
157157
</div>
158158
<div className="flex items-center gap-2">
159-
{repoId && !isEditing && (
159+
{repoId != null && !isEditing && (
160160
<DropdownMenu>
161161
<DropdownMenuTrigger asChild>
162162
<Button

0 commit comments

Comments
 (0)