mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding time played / last played
This commit is contained in:
parent
d05150a078
commit
fa2a92d5ed
6 changed files with 70 additions and 13 deletions
|
|
@ -24,7 +24,11 @@ const getUserProfile = async (
|
|||
? getSteamAppAsset("icon", game.objectId, steamGame.clientIcon)
|
||||
: null;
|
||||
|
||||
return { ...convertSteamGameToCatalogueEntry(steamGame), iconUrl };
|
||||
return {
|
||||
...game,
|
||||
...convertSteamGameToCatalogueEntry(steamGame),
|
||||
iconUrl,
|
||||
};
|
||||
})
|
||||
);
|
||||
|
||||
|
|
@ -37,7 +41,11 @@ const getUserProfile = async (
|
|||
? getSteamAppAsset("icon", game.objectId, steamGame.clientIcon)
|
||||
: null;
|
||||
|
||||
return { ...convertSteamGameToCatalogueEntry(steamGame), iconUrl };
|
||||
return {
|
||||
...game,
|
||||
...convertSteamGameToCatalogueEntry(steamGame),
|
||||
iconUrl,
|
||||
};
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue