From 6d72a06ecc0547887086bf25fd195ffa2e32ddb6 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 14 Oct 2023 12:03:30 +0100 Subject: [PATCH] fix: Tag strings from curations --- src/back/importGame.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/back/importGame.ts b/src/back/importGame.ts index 05732f1f7..505d31de8 100644 --- a/src/back/importGame.ts +++ b/src/back/importGame.ts @@ -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; }