Skip to content

Commit

Permalink
デフォルトの検索可能範囲が変更できない不具合を修正 (kokonect-link#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 authored Nov 6, 2024
1 parent c4c1ceb commit bfb8962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/settings/privacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSelect>
</div>
</MkFolder>
<MkSwitch v-model="remenberNoteSearchbility" @update:modelValue="save()">{{ i18n.ts.rememberNoteSearchbility }}</MkSwitch>
<MkFolder v-if="!remenberNoteSearchbility">
<MkSwitch v-model="rememberNoteSearchbility" @update:modelValue="save()">{{ i18n.ts.rememberNoteSearchbility }}</MkSwitch>
<MkFolder v-if="!rememberNoteSearchbility">
<template #label>{{ i18n.ts.makeSearchableBy }}</template>
<template #icon><i class="ti ti-search"></i></template>
<div class="_gaps_m">
Expand Down Expand Up @@ -131,8 +131,8 @@ const followersVisibility = ref($i.followersVisibility);
const searchableBy = ref($i.searchableBy);

const defaultNoteVisibility = computed(defaultStore.makeGetterSetter('defaultNoteVisibility'));
const defaultNoteSearchbility = computed(defaultStore.makeGetterSetter('defaultNoteSearchableBy'));
const remenberNoteSearchbility = computed(defaultStore.makeGetterSetter('rememberNoteSearchableBy'));
const defaultNoteSearchbility = computed(defaultStore.makeGetterSetter('defaultNoteSearchbility'));
const rememberNoteSearchbility = computed(defaultStore.makeGetterSetter('rememberNoteSearchbility'));
const rememberNoteVisibility = computed(defaultStore.makeGetterSetter('rememberNoteVisibility'));
const keepCw = computed(defaultStore.makeGetterSetter('keepCw'));

Expand Down

0 comments on commit bfb8962

Please sign in to comment.