Add list of emails from client
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f983edf77e
commit
6d9967ba9f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue