Fix titles (tooltip type things) for launch and installs buttons
This commit is contained in:
@@ -83,7 +83,11 @@ export default function Installs () {
|
||||
? ''
|
||||
: 'cursor-pointer'
|
||||
}`}
|
||||
title='Click to launch game'
|
||||
title={
|
||||
normalConfig?.settings.useLegacyInteractButtons
|
||||
? ''
|
||||
: 'Click to launch game'
|
||||
}
|
||||
onClick={async () => {
|
||||
if (normalConfig?.settings.useLegacyInteractButtons) return
|
||||
const verInfo = getVersionInfo(entry)
|
||||
@@ -166,6 +170,7 @@ export default function Installs () {
|
||||
})
|
||||
}}
|
||||
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
||||
title='Click to launch game'
|
||||
>
|
||||
Launch
|
||||
</button>
|
||||
|
||||
@@ -74,7 +74,11 @@ export default function Installs () {
|
||||
? ''
|
||||
: 'cursor-pointer'
|
||||
}`}
|
||||
title='Click to view game installs'
|
||||
title={
|
||||
normalConfig?.settings.useLegacyInteractButtons
|
||||
? ''
|
||||
: 'Click to view game installs'
|
||||
}
|
||||
onClick={() => {
|
||||
if (normalConfig?.settings.useLegacyInteractButtons) return
|
||||
router.push('/game?id=' + i.id)
|
||||
@@ -135,6 +139,7 @@ export default function Installs () {
|
||||
<div
|
||||
className='flex flex-row items-center gap-2'
|
||||
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
||||
title='Click to view game installs'
|
||||
>
|
||||
<Link
|
||||
className={`button ${
|
||||
|
||||
Reference in New Issue
Block a user