1
0
mirror of https://github.com/hyperspacedev/hyperspace synced 2025-02-10 08:40:35 +01:00

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

View File

@ -102,6 +102,7 @@ class AboutPage extends Component<any, IAboutPageState> {
render() { render() {
const { classes } = this.props; const { classes } = this.props;
return ( return (
<div className={classes.pageLayoutConstraints}> <div className={classes.pageLayoutConstraints}>
<Paper> <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> <Typography className={classes.instanceHeaderText} variant="h4" component="p">{this.state.instance ? this.state.instance.uri: "Loading..."}</Typography>
</div> </div>
<List className={classes.pageListConstraints}> <List className={classes.pageListConstraints}>
<ListItem> {(localStorage['isPleroma'] == "false") && <ListItem>
<ListItemAvatar> <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: ""}/> <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> </ListItemAvatar>
@ -137,7 +138,7 @@ class AboutPage extends Component<any, IAboutPageState> {
</LinkableIconButton> </LinkableIconButton>
</Tooltip> </Tooltip>
</ListItemSecondaryAction> </ListItemSecondaryAction>
</ListItem> </ListItem>}
<ListItem> <ListItem>
<ListItemAvatar> <ListItemAvatar>
<Avatar> <Avatar>