diff options
author | Sascha <GlancingMind@outlook.com> | 2021-04-22 14:02:43 +0200 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-22 14:17:00 +0200 |
commit | 774bae6d432c13cfa0de3ddc2f111927743243fe (patch) | |
tree | 0c52317767e18f339bec08bfcfe398ecb8bfbc10 /webui/src/components/Author.tsx | |
parent | 41e85023019bc13c06a1de2c431e0bd920e9e29a (diff) | |
download | git-bug-774bae6d432c13cfa0de3ddc2f111927743243fe.tar.gz git-bug-774bae6d432c13cfa0de3ddc2f111927743243fe.zip |
Replace occurrences of humanId with the full Id
Unless an ID must be shorted for user convenience, the full id should be used
to prevent collisions.
Diffstat (limited to 'webui/src/components/Author.tsx')
-rw-r--r-- | webui/src/components/Author.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/src/components/Author.tsx b/webui/src/components/Author.tsx index 272ca5b5..593b5d36 100644 --- a/webui/src/components/Author.tsx +++ b/webui/src/components/Author.tsx @@ -15,7 +15,7 @@ type Props = AuthoredFragment & { const Author = ({ author, ...props }: Props) => { return ( <Tooltip title={`Goto the ${author.displayName}'s profile.`}> - <Link {...props} component={RouterLink} to={`/user/${author.humanId}`}> + <Link {...props} component={RouterLink} to={`/user/${author.id}`}> {author.displayName} </Link> </Tooltip> |