From b1ca39ff2b2c37c47998ab855718a194df4531a0 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 18 Oct 2023 16:27:06 +0100 Subject: [PATCH] fix links --- static/js/infoView.t_for_time.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/infoView.t_for_time.js b/static/js/infoView.t_for_time.js index d763fe0..7a87c3d 100644 --- a/static/js/infoView.t_for_time.js +++ b/static/js/infoView.t_for_time.js @@ -574,11 +574,13 @@ pandora.ui.infoView = function(data, isMixed) { pandora.api.find(request, function(response) { response.data.items.forEach(item => { if (item.id != data.id) { + var type = item.type ? item.type[0] : 'Unknown' $element.append( - ` ${item.type[0]}` + ` ${type}` ) } }) + $element.append(`[all]`) pandora.createLinks($element) }) }