Skip to content

Commit

Permalink
fix: Tag strings from curations
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Oct 14, 2023
1 parent af27e3a commit 6d72a06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/back/importGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ async function createGameFromCurationMeta(gameId: string, gameMeta: CurationMeta
activeDataOnDisk: false
});
game.addApps = addApps.map(addApp => createAddAppFromCurationMeta(addApp, game));
game.tagsStr = '';
if (game.tags.length > 0) {
game.tagsStr = game.tags.map(t => t.primaryAlias.name).join('; ');
}
return game;
}

Expand Down

0 comments on commit 6d72a06

Please sign in to comment.