mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 03:41:53 +02: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
654a8367b6
commit
29d159ea29
@ -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…
x
Reference in New Issue
Block a user