diff --git a/frontend/src/pages/tttHistory/tttHistory.ts b/frontend/src/pages/tttHistory/tttHistory.ts index 4a0dfc6..259eb9a 100644 --- a/frontend/src/pages/tttHistory/tttHistory.ts +++ b/frontend/src/pages/tttHistory/tttHistory.ts @@ -32,6 +32,7 @@ async function tttHistory(_url: string, args: RouteHandlerParams): Promise You aren\'t logged in ', postInsert: () => { showError("You must be logged in !"); navigateTo("/") } }; } + let targetUserId = args.userid !== 'me' ? args.userid : user.id; let userInfoRes = await client.getUser({ user: args.userid }); if (userInfoRes.kind !== 'success') { @@ -59,9 +60,9 @@ async function tttHistory(_url: string, args: RouteHandlerParams): Promise