updates on the ui changes
This commit is contained in:
@@ -39,7 +39,7 @@ export function toClient(raw) {
|
||||
|
||||
export function toUser(raw) {
|
||||
const p = raw.payload ?? raw;
|
||||
const id = p.id ?? raw.id;
|
||||
const id = p.id ?? raw.id ?? p.uid ?? raw.uid ?? p.email;
|
||||
return {
|
||||
id,
|
||||
name: p.first_name ? `${p.first_name} ${p.last_name || ''}`.trim() : (p.name || '—'),
|
||||
|
||||
Reference in New Issue
Block a user