Skip to content

Commit

Permalink
feat: add email title for users
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 21, 2024
1 parent 4e94039 commit f1a1cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1a1cfa

Please sign in to comment.