Add list of emails from client
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Padawan 2021-01-25 10:59:24 +01:00
parent f983edf77e
commit 6d9967ba9f
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,13 @@ import ngModule from '../../module';
import Section from '../section';
import './style.scss';
export default class Summary extends Section {}
export default class Summary extends Section {
listEmails(email) {
if (!email) return;
const emailList = email.split(',');
return emailList.join(', ');
}
}
ngModule.vnComponent('vnSummary', {
controller: Summary

View File

@ -40,7 +40,7 @@
value="{{$ctrl.summary.mobile}}">
</vn-label-value>
<vn-label-value label="Email" no-ellipsize
value="{{$ctrl.summary.email}}">
value="{{$ctrl.listEmails($ctrl.summary.email)}}">
</vn-label-value>
<vn-label-value label="Sales person">
<span