enhance: ユーザーページのノート一覧でRenoteを除外できるように
This commit is contained in:
parent
d860e53b67
commit
ce1218a2b2
3 changed files with 17 additions and 4 deletions
|
@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<template #header>
|
||||
<MkTab v-model="include" :class="$style.tab">
|
||||
<option :value="null">{{ i18n.ts.notes }}</option>
|
||||
<option value="replies">{{ i18n.ts.notesAndReplies }}</option>
|
||||
<option value="all">{{ i18n.ts.all }}</option>
|
||||
<option value="files">{{ i18n.ts.withFiles }}</option>
|
||||
</MkTab>
|
||||
</template>
|
||||
|
@ -36,7 +36,8 @@ const pagination = {
|
|||
limit: 10,
|
||||
params: computed(() => ({
|
||||
userId: props.user.id,
|
||||
includeReplies: include.value === 'replies' || include.value === 'files',
|
||||
includeRenotes: include.value === 'all',
|
||||
includeReplies: include.value === 'all' || include.value === 'files',
|
||||
withFiles: include.value === 'files',
|
||||
})),
|
||||
};
|
||||
|
@ -51,7 +52,7 @@ const pagination = {
|
|||
|
||||
.tl {
|
||||
background: var(--bg);
|
||||
border-radius: var(--radius);
|
||||
overflow: clip;
|
||||
border-radius: var(--radius);
|
||||
overflow: clip;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue