1
This commit is contained in:
parent
9491012938
commit
81daf10555
|
|
@ -72,6 +72,7 @@ const UserAccountGroup = ({ user, allAccounts, onServiceAction }) => {
|
||||||
<span className={`user-role-badge ${user.role}`}>{user.role}</span>
|
<span className={`user-role-badge ${user.role}`}>{user.role}</span>
|
||||||
<span className="account-count">({user.accounts.length} 账号)</span>
|
<span className="account-count">({user.accounts.length} 账号)</span>
|
||||||
</div>
|
</div>
|
||||||
|
{!user.isAdmin && (
|
||||||
<div className="user-actions" onClick={e => e.stopPropagation()}>
|
<div className="user-actions" onClick={e => e.stopPropagation()}>
|
||||||
<button
|
<button
|
||||||
className="btn-text-action start"
|
className="btn-text-action start"
|
||||||
|
|
@ -88,6 +89,7 @@ const UserAccountGroup = ({ user, allAccounts, onServiceAction }) => {
|
||||||
全部停止
|
全部停止
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{expanded && (
|
{expanded && (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user