mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode)
This commit is contained in:
parent
a4e6a3bbd8
commit
0d60d3baf4
@ -195,7 +195,7 @@ export class Et2EmailTag extends Et2Tag
|
|||||||
if(!this.onlyEmail && Et2EmailTag.email_cache[this.value])
|
if(!this.onlyEmail && Et2EmailTag.email_cache[this.value])
|
||||||
{
|
{
|
||||||
// Append current value as email, data may have work & home email in it
|
// Append current value as email, data may have work & home email in it
|
||||||
content = (Et2EmailTag.email_cache[this.value]?.n_fn || "") + " <" + this.value + ">"
|
content = (Et2EmailTag.email_cache[this.value]?.n_fn || "") + " <" + (this.splitEmail(this.value)?.email || this.value) + ">"
|
||||||
}
|
}
|
||||||
if (this.onlyEmail)
|
if (this.onlyEmail)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user