summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrgr0 <66754887+Srgr0@users.noreply.github.com>2023-11-03 17:55:39 +0900
committerGitHub <noreply@github.com>2023-11-03 17:55:39 +0900
commit8ddbe914620fc9d28311f9276dcd569c8674294f (patch)
treef5e8b491aa0daa233a5df63f62b3ef9f3ebed494
parent fix(frontend): サイレンス状態で公開範囲のパブリックを選... (diff)
downloadmisskey-8ddbe914620fc9d28311f9276dcd569c8674294f.tar.gz
misskey-8ddbe914620fc9d28311f9276dcd569c8674294f.tar.bz2
misskey-8ddbe914620fc9d28311f9276dcd569c8674294f.zip
11以上されているリアクションにおいてツールチップで示されるリアクション数が本来よりも1多い問題を修正 (#12219)
* Update MkReactionsViewer.reaction.vue * Update CHANGELOG.md * Update MkReactionsViewer.details.vue --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
-rw-r--r--CHANGELOG.md1
-rw-r--r--packages/frontend/src/components/MkReactionsViewer.details.vue2
-rw-r--r--packages/frontend/src/components/MkReactionsViewer.reaction.vue2
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6844ea2f2..29d9ed11e6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -56,6 +56,7 @@
- Fix: 個人カードのemojiがバッテリーになっている問題を修正
- Fix: 標準テーマと同じIDを使用してインストールできてしまう問題を修正
- Fix: 絵文字ピッカーでバッテリーの絵文字が複数表示される問題を修正 #12197
+- Fix: 11以上されているリアクションにおいてツールチップで示されるリアクション数が本来よりも1多い問題を修正 #12174
- Fix: サイレンス状態で公開範囲のパブリックを選択できてしまう問題を修正 #12224
- Fix: In deck layout, replies option is not saved after refresh
diff --git a/packages/frontend/src/components/MkReactionsViewer.details.vue b/packages/frontend/src/components/MkReactionsViewer.details.vue
index fdd96d05ae..17cd083561 100644
--- a/packages/frontend/src/components/MkReactionsViewer.details.vue
+++ b/packages/frontend/src/components/MkReactionsViewer.details.vue
@@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkAvatar :class="$style.avatar" :user="u"/>
<MkUserName :user="u" :nowrap="true"/>
</div>
- <div v-if="users.length > 10" :class="$style.more">+{{ count - 10 }}</div>
+ <div v-if="count > 10" :class="$style.more">+{{ count - 10 }}</div>
</div>
</div>
</MkTooltip>
diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue
index d532ef9b66..2b850016c5 100644
--- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue
+++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue
@@ -113,7 +113,7 @@ if (!mock) {
const reactions = await os.apiGet('notes/reactions', {
noteId: props.note.id,
type: props.reaction,
- limit: 11,
+ limit: 10,
_cacheKey_: props.count,
});