Removed unnecessary div elements.

feature/appm-store/pbac
Menaka Jayawardena 7 years ago
parent 4a065f40c9
commit 543dd455b0

@ -95,6 +95,8 @@ class BaseLayout extends Component {
return "Applications";
} else if (href.indexOf("platforms") !== -1) {
return "Platforms";
} else {
return "";
}
}
@ -163,7 +165,7 @@ class BaseLayout extends Component {
<Button className="custom-flat grey" onClick={this.onClickPlatforms}>
<i className="fw fw-settings"></i>
<FormattedMessage id="Platforms" defaultMessage="Platforms"/>
</Button> :
</Button> : this.getCurrentPageTitle() === "" ? <div/> :
<Button className="custom-flat grey" onClick={this.onClickApplications}>
<i className="fw fw-application"></i>
<FormattedMessage id="Applications" defaultMessage="Applications"/>
@ -172,16 +174,12 @@ class BaseLayout extends Component {
</div>
</Col>
</Row>
<Row>
<div id="application-content">
<Row>
<Col>
{this.props.children}
</Col>
</Row>
</div>
</Row>
</div>
</Container>
<ApplicationCreate open={this.state.openModal} close={this.closeModal}/>
</div>

Loading…
Cancel
Save