portals don't always have field data - prevent exceptions in the code
This commit is contained in:
parent
c3576d566b
commit
1d46cd6b2b
@ -32,7 +32,7 @@ window.renderPortalDetails = function(guid) {
|
||||
: null;
|
||||
var sinceText = time ? ['since', time] : null;
|
||||
|
||||
var linkedFields = ['fields', d.portalV2.linkedFields.length];
|
||||
var linkedFields = ['fields', d.portalV2.linkedFields ? d.portalV2.linkedFields.length : 0];
|
||||
|
||||
// collect and html-ify random data
|
||||
var randDetails = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user