Get substring(0,@) of managers-email

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51277 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-15 15:31:06 +00:00
parent d711f59bd4
commit 2e8e71691b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
</p>
<p>
<span *ngIf="community.managers != null && community.managers[0] != ''"> Curated by:
<span *ngFor='let manager of community.managers; let i = index'> {{manager}}
<span *ngFor='let manager of community.managers; let i = index'> {{manager.substr(0, manager.indexOf('@'))}}
<span *ngIf="i<(community.managers.length-1)">,</span>
</span>
</span>