Skip to content

Commit

Permalink
fix: fold only one item
Browse files Browse the repository at this point in the history
close #680
  • Loading branch information
Vinzent03 committed Jan 28, 2024
1 parent e28b551 commit cd1d932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/sourceControl/components/treeComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
{:else}
<div
on:click={() => fold(entity)}
on:click|stopPropagation={() => fold(entity)}
class="tree-item nav-folder"
class:is-collapsed={closed[entity.title]}
>
Expand Down

0 comments on commit cd1d932

Please sign in to comment.