mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Use rawg url as View Link
This commit is contained in:
parent
0157e02e0d
commit
8688bce468
1 changed files with 8 additions and 1 deletions
|
|
@ -84,6 +84,8 @@ export default async function () {
|
|||
// Game already has entry
|
||||
if (gameIndex !== -1) {
|
||||
|
||||
// console.log('Existing Game', game)
|
||||
|
||||
gameList[gameIndex].reports.push(game)
|
||||
|
||||
continue
|
||||
|
|
@ -110,7 +112,12 @@ export default async function () {
|
|||
slug: 'games'
|
||||
},
|
||||
content: '',
|
||||
relatedLinks: [],
|
||||
relatedLinks: [
|
||||
{
|
||||
"href": `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`,
|
||||
"label": "View"
|
||||
}
|
||||
],
|
||||
reports: [
|
||||
game
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue