Enhance(frontend): もっと!ボタンでリアクション一覧が開けるように (misskey-dev#12935) (MisskeyIO#524)
Co-authored-by: 1Step621 <onestep621@gmail.com>
This commit is contained in:
parent
6bd7e85976
commit
b33cc203ac
6 changed files with 34 additions and 10 deletions
|
@ -230,9 +230,12 @@ import MkPagination, { type Paging } from '@/components/MkPagination.vue';
|
|||
import MkReactionIcon from '@/components/MkReactionIcon.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
|
||||
const props = defineProps<{
|
||||
const props = withDefaults(defineProps<{
|
||||
note: Misskey.entities.Note;
|
||||
}>();
|
||||
initialTab: string;
|
||||
}>(), {
|
||||
initialTab: 'replies',
|
||||
});
|
||||
|
||||
const inChannel = inject('inChannel', null);
|
||||
|
||||
|
@ -301,7 +304,7 @@ provide('react', (reaction: string) => {
|
|||
});
|
||||
});
|
||||
|
||||
const tab = ref('replies');
|
||||
const tab = ref(props.initialTab);
|
||||
const reactionTabType = ref<string | null>(null);
|
||||
|
||||
const renotesPagination = computed<Paging>(() => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue