mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
disable button logic
This commit is contained in:
parent
3a86e3569a
commit
cead92d900
@ -87,8 +87,7 @@ export function GameOptionsModal({
|
|||||||
onClick={handleCreateShortcut}
|
onClick={handleCreateShortcut}
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
theme="outline"
|
theme="outline"
|
||||||
disabled={deleting || !game.executablePath}
|
disabled={deleting || !game.downloadPath}
|
||||||
title={t("create_shortcut")}
|
|
||||||
>
|
>
|
||||||
{"Abrir local de download"}
|
{"Abrir local de download"}
|
||||||
</Button>
|
</Button>
|
||||||
@ -97,7 +96,6 @@ export function GameOptionsModal({
|
|||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
theme="outline"
|
theme="outline"
|
||||||
disabled={deleting || !game.executablePath}
|
disabled={deleting || !game.executablePath}
|
||||||
title={t("create_shortcut")}
|
|
||||||
>
|
>
|
||||||
{t("create_shortcut")}
|
{t("create_shortcut")}
|
||||||
</Button>
|
</Button>
|
||||||
@ -134,8 +132,7 @@ export function GameOptionsModal({
|
|||||||
onClick={handleCreateShortcut}
|
onClick={handleCreateShortcut}
|
||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
theme="outline"
|
theme="outline"
|
||||||
disabled={deleting || !game.executablePath}
|
disabled={deleting || !game.downloadPath}
|
||||||
title={t("create_shortcut")}
|
|
||||||
>
|
>
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
Remover arquivos
|
Remover arquivos
|
||||||
@ -146,7 +143,6 @@ export function GameOptionsModal({
|
|||||||
style={{ alignSelf: "flex-end" }}
|
style={{ alignSelf: "flex-end" }}
|
||||||
theme="outline"
|
theme="outline"
|
||||||
disabled={deleting}
|
disabled={deleting}
|
||||||
title={t("create_shortcut")}
|
|
||||||
>
|
>
|
||||||
<NoEntryIcon />
|
<NoEntryIcon />
|
||||||
Remover da biblioteca
|
Remover da biblioteca
|
||||||
|
Loading…
Reference in New Issue
Block a user