feat: share button uses steamAppId/slug instead of UUID

This commit is contained in:
2026-05-20 02:23:09 +08:00
parent 1929572060
commit e61071007e
2 changed files with 19 additions and 1 deletions
+4
View File
@@ -61,6 +61,7 @@ interface Game {
capsuleImage: string | null
storeUrl: string | null
source: string
slug: string | null
lastSync: string | null
syncStatus: string | null
createdAt: string
@@ -1901,6 +1902,9 @@ export function GamePageClient({
<PresetDetailModal
preset={preset}
gameId={gameId}
gameSource={game.source}
gameSteamAppId={game.steamAppId}
gameSlug={game.slug ?? null}
onClose={handlePresetClose}
onDelete={handleDeletePreset}
onReport={handleReportPreset}