mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6020 from thornbill/tag-list-view
This commit is contained in:
commit
ee29a98aef
3 changed files with 24 additions and 5 deletions
|
@ -1313,8 +1313,12 @@ function renderTags(page, item) {
|
|||
}
|
||||
|
||||
tags.forEach(tag => {
|
||||
const href = appRouter.getRouteUrl('tag', {
|
||||
tag,
|
||||
serverId: item.ServerId
|
||||
});
|
||||
tagElements.push(
|
||||
`<a href="#/search.html?query=${encodeURIComponent(tag)}" class="button-link emby-button" is="emby-linkbutton">`
|
||||
`<a href="${href}" class="button-link emby-button" is="emby-linkbutton">`
|
||||
+ escapeHtml(tag)
|
||||
+ '</a>'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue