fix(app): Always close hovercard when view-sessions clicked (#10326)
This commit is contained in:
parent
d5f78a7278
commit
5f7111fe93
1 changed files with 1 additions and 1 deletions
|
|
@ -2156,8 +2156,8 @@ export default function Layout(props: ParentProps) {
|
||||||
class="flex w-full text-left justify-start text-text-base px-2 hover:bg-transparent active:bg-transparent"
|
class="flex w-full text-left justify-start text-text-base px-2 hover:bg-transparent active:bg-transparent"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
layout.sidebar.open()
|
layout.sidebar.open()
|
||||||
|
setOpen(false)
|
||||||
if (selected()) {
|
if (selected()) {
|
||||||
setOpen(false)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
navigateToProject(props.project.worktree)
|
navigateToProject(props.project.worktree)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue