Make this work here for consistency
This commit is contained in:
1 file changed
+9
-1
@@ -36,7 +36,8 @@ export default function Sidebar () {
|
||||
category,
|
||||
setCategory,
|
||||
sidebarAlwaysShowGames,
|
||||
linuxUseWine
|
||||
linuxUseWine,
|
||||
setManagingGame
|
||||
} = useGlobal()
|
||||
|
||||
const pathname = usePathname()
|
||||
@@ -120,6 +121,13 @@ export default function Sidebar () {
|
||||
setCategory(-1)
|
||||
router.push('/main/game?id=' + i.id)
|
||||
}}
|
||||
onContextMenu={e => {
|
||||
e.preventDefault()
|
||||
setManagingGame(i.id)
|
||||
setPopupMode(5)
|
||||
setShowPopup(true)
|
||||
setFadeOut(false)
|
||||
}}
|
||||
>
|
||||
<div className='flex items-center'>
|
||||
<FontAwesomeIcon
|
||||
|
||||
Reference in new issue
Block a user