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

Loading…
Cancel
Save