feat(app): open project menu on right-click (#41013)
This commit is contained in:
@@ -475,6 +475,10 @@ function HomeProjectRow(
|
|||||||
ref={sortable.ref}
|
ref={sortable.ref}
|
||||||
class="group/project relative flex h-7 min-w-0 items-center rounded-[6px]"
|
class="group/project relative flex h-7 min-w-0 items-center rounded-[6px]"
|
||||||
classList={{ "z-10": sortable.isDragSource() }}
|
classList={{ "z-10": sortable.isDragSource() }}
|
||||||
|
onContextMenu={(event) => {
|
||||||
|
event.preventDefault()
|
||||||
|
props.onSetContextMenuOpen(contextMenuID(), true)
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<HomeProjectNavButton
|
<HomeProjectNavButton
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user