diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index ddf0f0f6a8..cd1f351e19 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -312,24 +312,24 @@ export default React.createClass({ } if (this.props.show) { + const loadingElement = ( +
+ +
+ ); if (this.state.initialising) { - appTileBody = ( -
- -
- ); + appTileBody = loadingElement; } else if (this.state.hasPermissionToLoad == true) { - const loadingElement = ( -
- -
- ); if (this.isMixedContent()) { - appTileBody = loadingElement; + appTileBody = ( +
+ +
+ ); } else { appTileBody = ( -
- { this.loading && Element } +
+ { this.loading && loadingElement }