Skip to content

Commit

Permalink
[tools] Improve the about export
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 4, 2024
1 parent 5cfa45b commit 2ac6dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools-public/toolpad/resources/queryAbout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function queryAbout() {
showInactive: false,
humanReadable: 'REPLACE',
fields: [
'root.fullName',
'root.displayName', // 'root.fullName', is the legal name, use the preferred name instead.
'address.country',
'address.city',
'work.title',
Expand Down Expand Up @@ -59,7 +59,7 @@ export async function queryAbout() {
.map((employee) => {
const country = countryFix[employee.address.country] || employee.address.country;
return {
name: employee.fullName,
name: employee.displayName,
title: employee.work.title,
about: employee.about?.custom?.field_1690557141686,
location: `${employee.address.city} - ${country}`,
Expand Down

0 comments on commit 2ac6dd2

Please sign in to comment.