mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 03:33:08 +02:00
モデレーターになってしまっている場合は解除できるように (#5983)
This commit is contained in:
parent
e4e7ab1135
commit
cef6d1d1b6
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
<template #header><mk-user-name :user="user"/></template>
|
||||
<div class="vrcsvlkm">
|
||||
<mk-button @click="resetPassword()" primary>{{ $t('resetPassword') }}</mk-button>
|
||||
<mk-switch v-if="$store.state.i.isAdmin && !user.isAdmin" @change="toggleModerator()" v-model="moderator">{{ $t('moderator') }}</mk-switch>
|
||||
<mk-switch v-if="$store.state.i.isAdmin && (this.moderator || !user.isAdmin)" @change="toggleModerator()" v-model="moderator">{{ $t('moderator') }}</mk-switch>
|
||||
<mk-switch @change="toggleSilence()" v-model="silenced">{{ $t('silence') }}</mk-switch>
|
||||
<mk-switch @change="toggleSuspend()" v-model="suspended">{{ $t('suspend') }}</mk-switch>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue