diff --git a/packages/ui/src/lib/components/contextmenu/ContextMenuItem.svelte b/packages/ui/src/lib/components/contextmenu/ContextMenuItem.svelte index 54d901548..25621dc70 100644 --- a/packages/ui/src/lib/components/contextmenu/ContextMenuItem.svelte +++ b/packages/ui/src/lib/components/contextmenu/ContextMenuItem.svelte @@ -5,7 +5,7 @@ import type { ContextMenuContext } from './contextMenu'; export let icon: keyof typeof iconsJson | undefined = undefined; - export let checked: boolean; + export let checked = false; const context = getContext('ContextMenu'); diff --git a/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte b/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte index 4f3cc221c..d9906057c 100644 --- a/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte +++ b/packages/ui/src/routes/[projectId]/components/BranchFiles.svelte @@ -88,6 +88,7 @@ isRoot={true} class="p-2" {selectedOwnership} + {selectedFileId} /> {/if} diff --git a/packages/ui/src/routes/[projectId]/components/FileTree.svelte b/packages/ui/src/routes/[projectId]/components/FileTree.svelte index ade1d2001..07a09f37d 100644 --- a/packages/ui/src/routes/[projectId]/components/FileTree.svelte +++ b/packages/ui/src/routes/[projectId]/components/FileTree.svelte @@ -3,7 +3,7 @@ - - diff --git a/packages/ui/src/routes/[projectId]/components/TreeListFile.svelte b/packages/ui/src/routes/[projectId]/components/TreeListFile.svelte index 0dab51aa2..d6bad06b3 100644 --- a/packages/ui/src/routes/[projectId]/components/TreeListFile.svelte +++ b/packages/ui/src/routes/[projectId]/components/TreeListFile.svelte @@ -6,9 +6,10 @@ import FileStatusCircle from './FileStatusCircle.svelte'; export let file: File; + export let selected: boolean; -