2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 18:45:40 +00:00

[UI] Link fix (#8726) (#8728)

- Fixes anchor issues in stock tracking table

(cherry picked from commit 68ac4118e9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot]
2024-12-20 12:28:49 +11:00
committed by GitHub
parent 2d773a7b3e
commit 70f17997eb

View File

@ -199,7 +199,7 @@ export function RenderInlineModel({
{prefix}
{image && <Thumbnail src={image} size={18} />}
{url ? (
<Anchor href={url} onClick={(event: any) => onClick(event)}>
<Anchor href='' onClick={(event: any) => onClick(event)}>
<Text size='sm'>{primary}</Text>
</Anchor>
) : (