Commit c132aa66 authored by Gavin Brown's avatar Gavin Brown

avoid "undefined" objects

parent d0c86536
......@@ -221,7 +221,7 @@ function processObject(object) {
var title = document.createElement('div');
title.classList.add('card-header', 'font-weight-bold');
title.appendChild(document.createTextNode(cardTitles[object.objectClassName] + ' ' + object.handle));
title.appendChild(document.createTextNode(cardTitles[object.objectClassName] + (object.handle ? ' ' + object.handle : '')));
body.appendChild(title);
table.classList.add('card-text');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment