Fallback to email for mailbox owner if no username nor display name is set
This commit is contained in:
@@ -185,7 +185,7 @@ async function refreshDomain(domain) {
|
||||
m.owner = users.value.find(u => u.id === m.ownerId) || null;
|
||||
if (!m.owner) m.owner = groups.value.find(g => g.id === m.ownerId) || null;
|
||||
|
||||
m.ownerDisplayName = m.owner ? (m.owner.username || m.owner.name) : '';
|
||||
m.ownerDisplayName = m.owner ? (m.owner.username || m.owner.name || m.owner.email) : '';
|
||||
cachedMailboxUsage.value[m.fullName] = cachedMailboxUsage.value[m.fullName] || {};
|
||||
|
||||
// update in-place or add
|
||||
|
||||
Reference in New Issue
Block a user