aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/identity/Identity.tsx
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-04-22 14:02:43 +0200
committerSascha <GlancingMind@outlook.com>2021-04-22 14:17:00 +0200
commit774bae6d432c13cfa0de3ddc2f111927743243fe (patch)
tree0c52317767e18f339bec08bfcfe398ecb8bfbc10 /webui/src/pages/identity/Identity.tsx
parent41e85023019bc13c06a1de2c431e0bd920e9e29a (diff)
downloadgit-bug-774bae6d432c13cfa0de3ddc2f111927743243fe.tar.gz
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/pages/identity/Identity.tsx')
-rw-r--r--webui/src/pages/identity/Identity.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/webui/src/pages/identity/Identity.tsx b/webui/src/pages/identity/Identity.tsx
index 5bfc87c0..5170eeea 100644
--- a/webui/src/pages/identity/Identity.tsx
+++ b/webui/src/pages/identity/Identity.tsx
@@ -51,9 +51,9 @@ const Identity = ({ identity }: Props) => {
const { loading, error, data } = useGetUserStatisticQuery({
variables: {
- authorQuery: 'author:' + user?.humanId,
- participantQuery: 'participant:' + user?.humanId,
- actionQuery: 'actor:' + user?.humanId,
+ authorQuery: 'author:' + user?.id,
+ participantQuery: 'participant:' + user?.id,
+ actionQuery: 'actor:' + user?.id,
},
});
@@ -111,7 +111,7 @@ const Identity = ({ identity }: Props) => {
<h1 className={classes.header}>Statistics</h1>
<Link
component={RouterLink}
- to={`/?q=author%3A${user?.humanId}+sort%3Acreation`}
+ to={`/?q=author%3A${user?.id}+sort%3Acreation`}
color={'inherit'}
>
<Typography variant="subtitle1">
@@ -120,7 +120,7 @@ const Identity = ({ identity }: Props) => {
</Link>
<Link
component={RouterLink}
- to={`/?q=participant%3A${user?.humanId}+sort%3Acreation`}
+ to={`/?q=participant%3A${user?.id}+sort%3Acreation`}
color={'inherit'}
>
<Typography variant="subtitle1">
@@ -129,7 +129,7 @@ const Identity = ({ identity }: Props) => {
</Link>
<Link
component={RouterLink}
- to={`/?q=actor%3A${user?.humanId}+sort%3Acreation`}
+ to={`/?q=actor%3A${user?.id}+sort%3Acreation`}
color={'inherit'}
>
<Typography variant="subtitle1">