fix: 全端隐藏用户角色标签(SUPER_ADMIN/操作员等)

This commit is contained in:
2026-08-07 14:53:46 +08:00
parent 9ed85f88bb
commit 1b4af0a7af
3 changed files with 0 additions and 11 deletions

View File

@ -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}