work on hyperspacedev#69

Signed-off-by: bleonard252 <bleonard252@rocketmail.com>
This commit is contained in:
bleonard252 2019-06-29 14:55:18 -04:00
parent 411328b3a7
commit 2ad4ddd4f6
1 changed files with 3 additions and 2 deletions

View File

@ -102,6 +102,7 @@ class AboutPage extends Component<any, IAboutPageState> {
render() {
const { classes } = this.props;
return (
<div className={classes.pageLayoutConstraints}>
<Paper>
@ -117,7 +118,7 @@ class AboutPage extends Component<any, IAboutPageState> {
<Typography className={classes.instanceHeaderText} variant="h4" component="p">{this.state.instance ? this.state.instance.uri: "Loading..."}</Typography>
</div>
<List className={classes.pageListConstraints}>
<ListItem>
{(localStorage['isPleroma'] == "false") && <ListItem>
<ListItemAvatar>
<LinkableAvatar to={`/profile/${this.state.instance? this.state.instance.contact_account.id: 0}`} alt="Instance admin" src={this.state.instance? this.state.instance.contact_account.avatar_static: ""}/>
</ListItemAvatar>
@ -137,7 +138,7 @@ class AboutPage extends Component<any, IAboutPageState> {
</LinkableIconButton>
</Tooltip>
</ListItemSecondaryAction>
</ListItem>
</ListItem>}
<ListItem>
<ListItemAvatar>
<Avatar>