Skip to content
Snippets Groups Projects
Unverified Commit 93c3f348 authored by syuilo's avatar syuilo
Browse files

管理画面でサイレンスされているユーザーを一覧できるように

parent 1282eed1
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ unreleased
----------
* deckにフォローされていますマークを追加
* URLプレビューのサムネイルの調整
* 管理画面でサイレンスされているユーザーを一覧できるように
* ジョブキューを無効化
* 軽微なバグ修正
......
......@@ -1319,6 +1319,7 @@ admin/views/users.vue:
moderator: "モデレーター"
adminOrModerator: "管理者+モデレーター"
verified: "公式アカウント"
silenced: "サイレンス済み"
suspended: "凍結済み"
origin:
title: "オリジン"
......
......@@ -48,6 +48,7 @@
<option value="admin">{{ $t('users.state.admin') }}</option>
<option value="moderator">{{ $t('users.state.moderator') }}</option>
<option value="verified">{{ $t('users.state.verified') }}</option>
<option value="silenced">{{ $t('users.state.silenced') }}</option>
<option value="suspended">{{ $t('users.state.suspended') }}</option>
</ui-select>
<ui-select v-model="origin">
......
......@@ -35,6 +35,7 @@ export const meta = {
'moderator',
'adminOrModerator',
'verified',
'silenced',
'suspended',
]),
default: 'all'
......@@ -101,6 +102,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
}]
} :
ps.state == 'verified' ? { isVerified: true } :
ps.state == 'silenced' ? { isSilenced: true } :
ps.state == 'suspended' ? { isSuspended: true } :
{}
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment