Fix admin IAM redirect and separate pending wholesale lists.
Keep admin browser bootstrap from falling back to the customer app URL, and exclude activated customers from the pending-verification list so it no longer mirrors the main omde grid. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,10 +12,10 @@ export const OMDE_SOURCES = {
|
||||
omde: { url: 'admin/customers-omde/list', title: 'لیست مشتریان های عمده' },
|
||||
banker: { url: 'admin/customers-omde/banker/list', title: 'لیست بنکداران' },
|
||||
shopkeeper: { url: 'admin/customers-omde/shopkeeper/list', title: 'لیست مغازه داران حضوری' },
|
||||
// NOTE both of these carry the SAME title as the plain omde list in legacy —
|
||||
// only their url differs. Preserved rather than "corrected".
|
||||
nonVerified: { url: 'admin/customers-omde/non-verified/list', title: 'لیست مشتریان های عمده' },
|
||||
archived: { url: 'admin/customers-omde/archived/list', title: 'لیست مشتریان های عمده' },
|
||||
// Titles match the nav labels so the two lists are not mistaken for each other
|
||||
// (legacy reused the omde title on both; that made the overlap bug invisible).
|
||||
nonVerified: { url: 'admin/customers-omde/non-verified/list', title: 'لیست مشتریان در انتظار' },
|
||||
archived: { url: 'admin/customers-omde/archived/list', title: 'لیست مشتریان بایگانی' },
|
||||
} as const;
|
||||
|
||||
export type OmdeSourceKey = keyof typeof OMDE_SOURCES;
|
||||
|
||||
Reference in New Issue
Block a user