fix(app): sidebar remount
This commit is contained in:
@@ -1917,10 +1917,10 @@ export default function Layout(props: ParentProps) {
|
|||||||
renderPanel={() => <SidebarPanel project={currentProject()} />}
|
renderPanel={() => <SidebarPanel project={currentProject()} />}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Show when={!layout.sidebar.opened() ? hoverProjectData() : undefined} keyed>
|
<Show when={!layout.sidebar.opened() ? hoverProjectData()?.worktree : undefined} keyed>
|
||||||
{(project) => (
|
{(worktree) => (
|
||||||
<div class="absolute inset-y-0 left-16 z-50 flex" onMouseEnter={aim.reset}>
|
<div class="absolute inset-y-0 left-16 z-50 flex" onMouseEnter={aim.reset}>
|
||||||
<SidebarPanel project={project} />
|
<SidebarPanel project={hoverProjectData()} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Show>
|
</Show>
|
||||||
|
|||||||
Reference in New Issue
Block a user