From f1a1cfaa57796f4d5b465cb9037758c0f9ad94b0 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Sat, 21 Dec 2024 08:25:44 +0100 Subject: [PATCH] feat: add email title for users --- frontend/src/lib/utils/load.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/utils/load.ts b/frontend/src/lib/utils/load.ts index 8779d23d1..3055e7ea9 100644 --- a/frontend/src/lib/utils/load.ts +++ b/frontend/src/lib/utils/load.ts @@ -137,7 +137,7 @@ export const loadDetail = async ({ event, model, id }) => { } return { data, - title: data.str || data.name || data.id, + title: data.str || data.name || data.email || data.id, form, relatedModels, urlModel: model.urlModel as urlModel,