mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed unnecessary div elements.
This commit is contained in:
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,23 +165,19 @@ 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 className="custom-flat grey" onClick={this.onClickApplications}>
|
||||
<i className="fw fw-application"></i>
|
||||
<FormattedMessage id="Applications" defaultMessage="Applications"/>
|
||||
</Button>
|
||||
</Button> : this.getCurrentPageTitle() === "" ? <div/> :
|
||||
<Button className="custom-flat grey" onClick={this.onClickApplications}>
|
||||
<i className="fw fw-application"></i>
|
||||
<FormattedMessage id="Applications" defaultMessage="Applications"/>
|
||||
</Button>
|
||||
}
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
<div id="application-content">
|
||||
<Row>
|
||||
<Col>
|
||||
{this.props.children}
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
<Col>
|
||||
{this.props.children}
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user