mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #5817 from jellyfin-web/release-10.9.z
Fix undefined serverId in Person card
Original-merge: d47023855e
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
51d2cc19b8
commit
dc8f9586c4
1 changed files with 3 additions and 1 deletions
|
@ -1139,7 +1139,9 @@ function getHoverMenuHtml(item, action) {
|
|||
let html = '';
|
||||
|
||||
html += '<div class="cardOverlayContainer itemAction" data-action="' + action + '">';
|
||||
const url = appRouter.getRouteUrl(item);
|
||||
const url = appRouter.getRouteUrl(item, {
|
||||
serverId: item.ServerId || ServerConnections.currentApiClient().serverId()
|
||||
});
|
||||
html += '<a href="' + url + '" class="cardImageContainer"></a>';
|
||||
|
||||
const btnCssClass = 'cardOverlayButton cardOverlayButton-hover itemAction paper-icon-button-light';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue