summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNoteDetailed.vue
diff options
context:
space:
mode:
author1Step621 <86859447+1STEP621@users.noreply.github.com>2024-03-30 20:30:22 +0900
committerGitHub <noreply@github.com>2024-03-30 20:30:22 +0900
commitd4ca973e3408a7d28788efe57bcd882c0ce9eedc (patch)
tree6350043f4d6e7d94ed6e164096319c70236e88c9 /packages/frontend/src/components/MkNoteDetailed.vue
parentfix/enhance(frontend): 映像・音声周りの改修 (#13206) (diff)
downloadsharkey-d4ca973e3408a7d28788efe57bcd882c0ce9eedc.tar.gz
sharkey-d4ca973e3408a7d28788efe57bcd882c0ce9eedc.tar.bz2
sharkey-d4ca973e3408a7d28788efe57bcd882c0ce9eedc.zip
Enhance(frontend): もっと!ボタンでリアクション一覧が開けるように (#12935)
* もっと!ボタンでリアクション一覧が開けるように * update CHANGELOG.md && デバッグ用に最大リアクション表示数を1にしてたのを一応戻した * fix * デザイン調整 * maxNumberもどす * fix CHANGELOG * fix * move changelog * :art: --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkNoteDetailed.vue')
-rw-r--r--packages/frontend/src/components/MkNoteDetailed.vue9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue
index ebccd60986..eec1aad53c 100644
--- a/packages/frontend/src/components/MkNoteDetailed.vue
+++ b/packages/frontend/src/components/MkNoteDetailed.vue
@@ -234,9 +234,12 @@ import MkReactionIcon from '@/components/MkReactionIcon.vue';
import MkButton from '@/components/MkButton.vue';
import { isEnabledUrlPreview } from '@/instance.js';
-const props = defineProps<{
+const props = withDefaults(defineProps<{
note: Misskey.entities.Note;
-}>();
+ initialTab: string;
+}>(), {
+ initialTab: 'replies',
+});
const inChannel = inject('inChannel', null);
@@ -304,7 +307,7 @@ provide('react', (reaction: string) => {
});
});
-const tab = ref('replies');
+const tab = ref(props.initialTab);
const reactionTabType = ref<string | null>(null);
const renotesPagination = computed<Paging>(() => ({