|
|
|
@ -72,7 +72,7 @@ const formats = [
|
|
|
|
|
class AppDetailsDrawer extends React.Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props);
|
|
|
|
|
const drawerWidth = window.innerWidth<=770 ? '80%' : '40%';
|
|
|
|
|
const drawerWidth = window.innerWidth <= 770 ? '80%' : '40%';
|
|
|
|
|
|
|
|
|
|
this.state = {
|
|
|
|
|
loading: false,
|
|
|
|
@ -460,7 +460,9 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
|
<Divider/>
|
|
|
|
|
|
|
|
|
|
{/*display manage config button only if the app is public android app*/}
|
|
|
|
|
{(app.type === "PUBLIC") && (app.deviceType === "android") && (
|
|
|
|
|
{(app.type === "PUBLIC") && (app.deviceType === "android") &&
|
|
|
|
|
(config.androidEnterpriseToken !== null) &&
|
|
|
|
|
(
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
<Text strong={true}>Set up managed configurations</Text>
|
|
|
|
@ -490,7 +492,8 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
|
<div className="releases-details">
|
|
|
|
|
|
|
|
|
|
{(app.type === "ENTERPRISE") && (
|
|
|
|
|
<Link to={`/publisher/apps/${app.deviceType}/${app.id}/add-release`}><Button htmlType="button"
|
|
|
|
|
<Link to={`/publisher/apps/${app.deviceType}/${app.id}/add-release`}><Button
|
|
|
|
|
htmlType="button"
|
|
|
|
|
size="small">Add
|
|
|
|
|
new release</Button></Link>)}
|
|
|
|
|
<List
|
|
|
|
@ -515,7 +518,8 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
|
<Divider type="vertical"/>
|
|
|
|
|
<IconText type="upload" text={release.releaseType}/>
|
|
|
|
|
<Divider type="vertical"/>
|
|
|
|
|
<IconText type="star-o" text={release.rating.toFixed(1)}/>
|
|
|
|
|
<IconText type="star-o"
|
|
|
|
|
text={release.rating.toFixed(1)}/>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
@ -661,7 +665,7 @@ class AppDetailsDrawer extends React.Component {
|
|
|
|
|
|
|
|
|
|
<div className="app-rate">
|
|
|
|
|
{app.applicationReleases.length > 0 && (
|
|
|
|
|
<DetailedRating type="app" uuid={app.applicationReleases[0].uuid} />)}
|
|
|
|
|
<DetailedRating type="app" uuid={app.applicationReleases[0].uuid}/>)}
|
|
|
|
|
</div>
|
|
|
|
|
</Spin>
|
|
|
|
|
</Drawer>
|
|
|
|
|