From 2752858c7c00e59243f3edb3845ff7f00febb10f Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 28 Jan 2022 01:13:52 +0900 Subject: [PATCH] =?UTF-8?q?fix(client):=20=E3=83=88=E3=83=AC=E3=83=B3?= =?UTF-8?q?=E3=83=89=E3=82=A6=E3=82=A3=E3=82=B8=E3=82=A7=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=8C=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=AA=E3=81=84=E3=81=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + packages/client/src/widgets/trends.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a30c1592..d65cc8ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ### Bugfixes - 投稿のNSFW画像を表示したあとにリアクションが更新されると画像が非表示になる問題を修正 - 「クリップ」ページが開かない問題を修正 +- トレンドウィジェットが動作しないのを修正 ## 12.102.1 (2022/01/27) ### Bugfixes diff --git a/packages/client/src/widgets/trends.vue b/packages/client/src/widgets/trends.vue index eb5eb4049..a34710eae 100644 --- a/packages/client/src/widgets/trends.vue +++ b/packages/client/src/widgets/trends.vue @@ -52,8 +52,8 @@ const stats = ref([]); const fetching = ref(true); const fetch = () => { - os.api('hashtags/trend').then(stats => { - stats.value = stats; + os.api('hashtags/trend').then(res => { + stats.value = res; fetching.value = false; }); };