Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-

### Client
-
- Fix: 設定検索にプライバシー設定の項目が表示されない問題を修正

### Server
-
Expand Down
14 changes: 11 additions & 3 deletions packages/frontend/src/pages/settings/privacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSwitch>
</SearchMarker>

<SearchMarker :keywords="['follow', 'request', 'approval', 'age']">
<SearchMarker
:keywords="[
'follow', 'request', 'approval', 'age',
i18n.ts._followApproval.local,
i18n.ts._followApproval.localDescription,
i18n.ts._followApproval.remote,
i18n.ts._followApproval.remoteDescription,
]"
>
<FormSlot>
<template #label><SearchLabel>{{ i18n.ts._followApproval.title }}</SearchLabel></template>
<div class="_gaps_m">
Expand All @@ -30,8 +38,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<div v-for="setting in followApprovalSettings" :key="setting.key" class="_gaps_s">
<MkSelect v-model="setting.mode" :items="followApprovalModes" @update:modelValue="saveFollowApproval(setting)">
<template #label><SearchLabel>{{ setting.label }}</SearchLabel></template>
<template #caption><SearchText>{{ setting.caption }}</SearchText></template>
<template #label>{{ setting.label }}</template>
<template #caption>{{ setting.caption }}</template>
</MkSelect>
<MkInput v-if="setting.mode === 'custom'" v-model="setting.amount" type="number" :min="1 / FOLLOW_APPROVAL_UNIT_SECONDS[setting.unit]" :max="FOLLOW_APPROVAL_MAX_SECONDS / FOLLOW_APPROVAL_UNIT_SECONDS[setting.unit]" step="any" @update:modelValue="scheduleFollowApprovalSave(setting)">
<template #label>{{ i18n.ts._followApproval.period }}</template>
Expand Down
Loading