fix links

This commit is contained in:
j 2023-10-18 16:27:06 +01:00
parent 59da950a20
commit b1ca39ff2b

View file

@ -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(
` <a href="/${item.id}/info">${item.type[0]}</a>`
` <a href="/${item.id}/info">${type}</a>`
)
}
})
$element.append(`[<a href="/grid/created/title=${pandora.escapeQueryValue(title)}">all</a>]`)
pandora.createLinks($element)
})
}