aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/identity/Identity.tsx
diff options
context:
space:
mode:
authorLena <lena.becker-3@mni.thm.de>2021-03-18 19:13:57 +0100
committerSascha <GlancingMind@outlook.com>2021-04-13 19:07:57 +0200
commitcf1e13b6837d6dda794b9c0dca5af1bb8e095794 (patch)
tree9d9938155069972b82cb45063d3aa469563d0c88 /webui/src/pages/identity/Identity.tsx
parentad51d884a6926bc69073d1d5aaf584acd7db2c34 (diff)
downloadgit-bug-cf1e13b6837d6dda794b9c0dca5af1bb8e095794.tar.gz
Add basic bug listing
Diffstat (limited to 'webui/src/pages/identity/Identity.tsx')
-rw-r--r--webui/src/pages/identity/Identity.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/webui/src/pages/identity/Identity.tsx b/webui/src/pages/identity/Identity.tsx
index 22691b1c..43925f4f 100644
--- a/webui/src/pages/identity/Identity.tsx
+++ b/webui/src/pages/identity/Identity.tsx
@@ -14,6 +14,9 @@ import Avatar from '@material-ui/core/Avatar';
import { makeStyles } from '@material-ui/core/styles';
import { useCurrentIdentityQuery } from '../../components/CurrentIdentity/CurrentIdentity.generated';
+
+import BugList from './BugList';
+
const useStyles = makeStyles((theme) => ({
main: {
maxWidth: 1200,
@@ -59,6 +62,7 @@ const Identity = () => {
const { data } = useCurrentIdentityQuery();
const user = data?.repository?.userIdentity;
console.log(user);
+
return (
<main className={classes.main}>
<div className={classes.container}>
@@ -126,6 +130,7 @@ const Identity = () => {
</Avatar>
</div>
</div>
+ <BugList humanId={user?.humanId ? user?.humanId : ''} />
</main>
);
};