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