Fixed startup issue.

This commit is contained in:
wildscotsmen 2018-11-25 13:19:43 -05:00
parent 73db7e5074
commit 95143d8034
1 changed files with 42 additions and 43 deletions

View File

@ -50,8 +50,7 @@ class FlameLinkCollectionGallery extends Component {
})) }))
if (this.props.showTitle === false) { if (this.props.showTitle === false) {
} } else {
else{
flamelinkApp.schemas.get(this.props.galleryName) flamelinkApp.schemas.get(this.props.galleryName)
.then(result => this.setState({ .then(result => this.setState({
schemaDescription: result.title schemaDescription: result.title
@ -91,7 +90,7 @@ class FlameLinkCollectionGallery extends Component {
</Typography> </Typography>
<Grid container className={classes.flamelinkGalleryContainer}> <Grid container className={classes.flamelinkGalleryContainer}>
<Grid item lg={8} md={8} sm={12} xs={12} className={classes.flamelinkGallery} > <Grid item lg={8} md={8} sm={12} xs={12} className={classes.flamelinkGallery} >
<RenderGallery/> <RenderGallery key={Math.random()} />
</Grid> </Grid>
</Grid> </Grid>
</Grid> </Grid>