Remove managed configuration option from non android ent. apps in APPM UI

feature/appm-store/pbac
Jayasanka 5 years ago
parent 07d87ae4f2
commit c54b29a182

@ -449,18 +449,15 @@ class AppDetailsDrawer extends React.Component {
width={this.state.drawerWidth} width={this.state.drawerWidth}
closable={false} closable={false}
onClose={onClose} onClose={onClose}
visible={visible} visible={visible}>
>
<Spin spinning={loading} delay={500}> <Spin spinning={loading} delay={500}>
<div style={{textAlign: "center"}}> <div style={{textAlign: "center"}}>
{avatar} {avatar}
<Title editable={{onChange: this.handleNameSave}} level={2}>{name}</Title> <Title editable={{onChange: this.handleNameSave}} level={2}>{name}</Title>
</div> </div>
<Divider/> <Divider/>
{/*display manage config button only if the app is public android app*/} {/*display manage config button only if the app is public android app*/}
{(app.type === "PUBLIC") && (app.deviceType === "android") && {(app.isAndroidEnterpriseApp) &&
(config.androidEnterpriseToken !== null) && (config.androidEnterpriseToken !== null) &&
( (
<div> <div>

Loading…
Cancel
Save