mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Show additional data on Users list page (#17339)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -15,8 +15,8 @@ export const USERS_LIST_SORT_OPTIONS = [
|
||||
'role:desc',
|
||||
'mfaEnabled:asc',
|
||||
'mfaEnabled:desc',
|
||||
// 'lastActive:asc',
|
||||
// 'lastActive:desc',
|
||||
'lastActiveAt:asc',
|
||||
'lastActiveAt:desc',
|
||||
] as const;
|
||||
|
||||
export type UsersListSortOptions = (typeof USERS_LIST_SORT_OPTIONS)[number];
|
||||
|
||||
@@ -33,7 +33,6 @@ export const userListItemSchema = z.object({
|
||||
signInType: z.string().optional(),
|
||||
settings: userSettingsSchema.nullable().optional(),
|
||||
personalizationAnswers: z.object({}).passthrough().nullable().optional(),
|
||||
lastActive: z.string().optional(),
|
||||
projectRelations: z.array(userProjectSchema).nullable().optional(),
|
||||
mfaEnabled: z.boolean().optional(),
|
||||
lastActiveAt: z.string().nullable().optional(),
|
||||
|
||||
Reference in New Issue
Block a user