Make contact view more ressilient.

master
Tom Hacohen 7 years ago
parent cf396ff904
commit fec1edf711

@ -28,7 +28,7 @@ class Contact extends React.Component {
const name = contact.fn; const name = contact.fn;
const revProp = contact.comp.getFirstProperty('rev'); const revProp = contact.comp.getFirstProperty('rev');
const lastModified = (revProp !== undefined) ? const lastModified = (revProp) ?
'Modified: ' + moment(revProp.getFirstValue().toJSDate()).format('LLLL') : undefined; 'Modified: ' + moment(revProp.getFirstValue().toJSDate()).format('LLLL') : undefined;
let lists = []; let lists = [];

Loading…
Cancel
Save