summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/admin/security.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2026-01-14 14:02:50 +0900
committerGitHub <noreply@github.com>2026-01-14 14:02:50 +0900
commitb941c896aa5512240de9121a1850d55aa5f8b68b (patch)
tree5d96055387b458f5295d791cc00fd5abf14b1752 /packages/frontend/src/pages/admin/security.vue
parentBump version to 2026.1.0-beta.0 (diff)
downloadmisskey-b941c896aa5512240de9121a1850d55aa5f8b68b.tar.gz
misskey-b941c896aa5512240de9121a1850d55aa5f8b68b.tar.bz2
misskey-b941c896aa5512240de9121a1850d55aa5f8b68b.zip
refactor(frontend): MkRadiosの指定をpropsから行うように (#16597)
* refactor(frontend): MkRadiosの指定をpropsから行うように * spdx * fix lint * fix: mkradiosを動的slotsに対応させる * fix: remove comment [ci skip] * fix lint * fix lint * migrate * rename * fix * fix * fix types * remove unused imports * fix * wip --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/pages/admin/security.vue')
-rw-r--r--packages/frontend/src/pages/admin/security.vue14
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/admin/security.vue b/packages/frontend/src/pages/admin/security.vue
index fa93124daa..f310f26107 100644
--- a/packages/frontend/src/pages/admin/security.vue
+++ b/packages/frontend/src/pages/admin/security.vue
@@ -25,11 +25,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<div><SearchText>{{ i18n.ts._sensitiveMediaDetection.description }}</SearchText></div>
- <MkRadios v-model="sensitiveMediaDetectionForm.state.sensitiveMediaDetection">
- <option value="none">{{ i18n.ts.none }}</option>
- <option value="all">{{ i18n.ts.all }}</option>
- <option value="local">{{ i18n.ts.localOnly }}</option>
- <option value="remote">{{ i18n.ts.remoteOnly }}</option>
+ <MkRadios
+ v-model="sensitiveMediaDetectionForm.state.sensitiveMediaDetection"
+ :options="[
+ { value: 'none', label: i18n.ts.none },
+ { value: 'all', label: i18n.ts.all },
+ { value: 'local', label: i18n.ts.localOnly },
+ { value: 'remote', label: i18n.ts.remoteOnly },
+ ]"
+ >
</MkRadios>
<SearchMarker :keywords="['sensitivity']">