mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -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
|
// Game already has entry
|
||||||
if (gameIndex !== -1) {
|
if (gameIndex !== -1) {
|
||||||
|
|
||||||
|
// console.log('Existing Game', game)
|
||||||
|
|
||||||
gameList[gameIndex].reports.push(game)
|
gameList[gameIndex].reports.push(game)
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
@ -110,7 +112,12 @@ export default async function () {
|
||||||
slug: 'games'
|
slug: 'games'
|
||||||
},
|
},
|
||||||
content: '',
|
content: '',
|
||||||
relatedLinks: [],
|
relatedLinks: [
|
||||||
|
{
|
||||||
|
"href": `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`,
|
||||||
|
"label": "View"
|
||||||
|
}
|
||||||
|
],
|
||||||
reports: [
|
reports: [
|
||||||
game
|
game
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue