if references have title show them
This commit is contained in:
parent
e5e82bf886
commit
addd1780f1
2 changed files with 17 additions and 9 deletions
|
|
@ -354,7 +354,7 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
function formatConnections(connections) {
|
||||
return connections.map(function(c) {
|
||||
return '<a href="/' + c.item + '">' + c.title + '</a>';
|
||||
return c.item ? '<a href="/' + c.item + '">' + c.title + '</a>' : c.title;
|
||||
}).join(', ');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue