From 0d2bee787d52b875b474f9fa9eedc49951dce0ee Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 13 Mar 2023 01:46:33 +0100 Subject: [PATCH] fix(frontend/XHome): fall back to user.uri if user.url does not exist (#10313) * fix(frontend/XHome): fall back to user.uri if user.url does not exist * Update CHANGELOG.md --- CHANGELOG.md | 1 + .../src/components/global/MkAvatar.vue | 6 +- packages/frontend/src/components/index.ts | 42 ++++++++------ packages/frontend/src/pages/user/home.vue | 7 ++- packages/frontend/test/home.test.ts | 58 +++++++++++++++++++ 5 files changed, 92 insertions(+), 22 deletions(-) create mode 100644 packages/frontend/test/home.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 13102ef7dd..13e07ee53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ You should also include the user name that made the change. - API上で`visibility`を`followers`に設定してrenoteすると連合や削除で不具合が発生する問題を修正 - AWS S3からのファイル削除でNoSuchKeyエラーが出ると進めらない状態になる問題を修正 - fix(frontend): Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正 +- Bookwyrmのユーザーのプロフィールページで「リモートで表示」をタップしても反応がない問題を修正 ## 13.9.2 (2023/03/06) diff --git a/packages/frontend/src/components/global/MkAvatar.vue b/packages/frontend/src/components/global/MkAvatar.vue index d392ec6d6f..7fb830d537 100644 --- a/packages/frontend/src/components/global/MkAvatar.vue +++ b/packages/frontend/src/components/global/MkAvatar.vue @@ -1,5 +1,5 @@