File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
src/client/src/pages/DataView360/components Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,16 @@ class ContactInfo extends Component {
23
23
24
24
25
25
populate_participant_with_data_source ( participant , participantData ) {
26
- return {
27
- first_name : participantData . first_name || participant . first_name ,
28
- last_name : participantData . last_name || participant . last_name ,
29
- email : participantData . email || participant . email ,
30
- mobile : participantData . mobile || participant . mobile ,
31
- city : participantData . city || participant . city ,
32
- street_and_number : participantData . street_and_number || participant . street_and_number
33
- } ;
26
+ if ( participant ) {
27
+ return {
28
+ first_name : participantData . first_name || participant . first_name ,
29
+ last_name : participantData . last_name || participant . last_name ,
30
+ email : participantData . email || participant . email ,
31
+ mobile : participantData . mobile || participant . mobile ,
32
+ city : participantData . city || participant . city ,
33
+ street_and_number : participantData . street_and_number || participant . street_and_number
34
+ } ;
35
+ }
34
36
}
35
37
36
38
//populates by the order of the source types array
You can’t perform that action at this time.
0 commit comments