mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Polish dashboard page chrome and user access UI.
Rename Customers to Users with FA/EN titles, compact headers and filter bars across apps, and refine manager role copy plus a customer-header link to the business dashboard. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
beec3035e5
commit
6c52ce1247
@@ -46,7 +46,7 @@ const TEAM_ROLE_ORDER = ['admin', 'editor', 'viewer'] as const
|
||||
const TEAM_ROLE_LABELS: Record<string, string> = {
|
||||
admin: 'Admin',
|
||||
editor: 'Editor',
|
||||
viewer: 'Viewer',
|
||||
viewer: 'Observer',
|
||||
}
|
||||
|
||||
function teamRoleLabel(slug: string | null | undefined, teamRoles: RoleOption[]) {
|
||||
@@ -1021,8 +1021,7 @@ export function UsersPage() {
|
||||
{businessAccess === 'staff' ? (
|
||||
<>
|
||||
<p className={styles.roleHint}>
|
||||
Only a super admin can assign Admin. Admins can assign Editor or Viewer. Admins
|
||||
cannot change other admins.
|
||||
Only a super admin can assign Admin. Admins can assign Editor or Observer.
|
||||
</p>
|
||||
<div className={`${styles.roleList} ${styles.roleListNested}`}>
|
||||
{orderedTeamRoles.map((role) => (
|
||||
|
||||
Reference in New Issue
Block a user