From 5875409841f947657a759a8f4b1933a958acf32b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Feb 2020 07:49:02 +0900 Subject: [PATCH] Fix bug --- CHANGELOG.md | 3 +++ src/models/repositories/page.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14dc987a3..21620580e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -89,6 +89,9 @@ Misskey v12では、クライアントが設計し直され、全く新しいUI * TypeError: Cannot read property 'stack' of undefined が出ることがある問題を修正 * AP: audience (visibility) パースの修正 * Pages: VERSION 変数が常に null な問題を修正 +* Pages: MY_NOTES_COUNT 変数が常に null な問題を修正 +* Pages: MY_FOLLOWERS_COUNT 変数が常に null な問題を修正 +* Pages: MY_FOLLOWING_COUNT 変数が常に null な問題を修正 * Pages: DRPWPMが最初のしか出てこない問題を修正 11.37.1 (2020/01/07) diff --git a/src/models/repositories/page.ts b/src/models/repositories/page.ts index 1335ada73..0ebd07267 100644 --- a/src/models/repositories/page.ts +++ b/src/models/repositories/page.ts @@ -65,7 +65,7 @@ export class PageRepository extends Repository { createdAt: page.createdAt.toISOString(), updatedAt: page.updatedAt.toISOString(), userId: page.userId, - user: Users.pack(page.user || page.userId), + user: Users.pack(page.user || page.userId, me, { detail: true }), content: page.content, variables: page.variables, title: page.title,