fix: 全端隐藏用户角色标签(SUPER_ADMIN/操作员等)
This commit is contained in:
@ -113,11 +113,6 @@ export default function AdminLayout() {
|
||||
<span className="font-medium text-gray-700">
|
||||
{user?.display_name ?? user?.username ?? "—"}
|
||||
</span>
|
||||
{user?.role && (
|
||||
<span className="rounded bg-gray-100 px-1.5 py-0.5 text-[10px] text-gray-500">
|
||||
{user.role}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<button
|
||||
onClick={handleLogout}
|
||||
|
||||
Reference in New Issue
Block a user