2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-11 22:54:17 +00:00

[UI] Fix "Owner" detail badge using wrong id (#11144) (#11150)

(cherry picked from commit bd519487e5)

Co-authored-by: Gustaf Järgren <gurreja@gmail.com>
This commit is contained in:
github-actions[bot]
2026-01-17 16:02:37 +11:00
committed by GitHub
parent bd2d6036bf
commit 351278316a

View File

@@ -109,7 +109,7 @@ function HoverNameBadge(data: any, type: BadgeType) {
return [
`${data.label}: ${data.name}`,
data.name,
getDetailUrl(data.owner_model, data.pk, true),
getDetailUrl(data.owner_model, data.owner_id, true),
undefined,
undefined
];