diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-20 15:13:10 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-13 19:07:57 +0200 |
commit | 41e85023019bc13c06a1de2c431e0bd920e9e29a (patch) | |
tree | 95ea962e484912538f3b8611d3eb54056bbf3658 /webui/src/pages/identity/BugList.tsx | |
parent | 998ae348b10efd5af758944143b70125a98e8f86 (diff) | |
download | git-bug-41e85023019bc13c06a1de2c431e0bd920e9e29a.tar.gz git-bug-41e85023019bc13c06a1de2c431e0bd920e9e29a.zip |
Use profile page for each identity
Authorcomponent links to the authors profile page.
Replace pofile buglist with statistics
Diffstat (limited to 'webui/src/pages/identity/BugList.tsx')
-rw-r--r-- | webui/src/pages/identity/BugList.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/src/pages/identity/BugList.tsx b/webui/src/pages/identity/BugList.tsx index e74c11d4..c7994827 100644 --- a/webui/src/pages/identity/BugList.tsx +++ b/webui/src/pages/identity/BugList.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { Card, Link, Typography } from '@material-ui/core'; +import { Card, Divider, Link, Typography } from '@material-ui/core'; import CircularProgress from '@material-ui/core/CircularProgress'; import { makeStyles } from '@material-ui/core/styles'; @@ -53,6 +53,7 @@ function BugList({ humanId }: Props) { {bug.title} </Link> </Typography> + <Divider /> <Typography variant="subtitle2"> Created <Date date={bug.createdAt} /> @@ -64,6 +65,7 @@ function BugList({ humanId }: Props) { </Card> ); })} + {bugs?.length === 0 && <p>No authored bugs by this user found.</p>} </div> ); } |