2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 03:26:45 +00:00

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

- Fixes anchor issues in stock tracking table

(cherry picked from commit 68ac4118e97c73d21a93aad208f770da1e93a94f)

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>
) : (