From c54b29a1820f343258e60e6bd77b4e76d196ca07 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Wed, 30 Oct 2019 17:06:43 +0530 Subject: [PATCH] Remove managed configuration option from non android ent. apps in APPM UI --- .../apps/list-apps/AppDetailsDrawer/AppDetailsDrawer.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/AppDetailsDrawer/AppDetailsDrawer.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/AppDetailsDrawer/AppDetailsDrawer.js index 7eaea07d324..f06186beb16 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/AppDetailsDrawer/AppDetailsDrawer.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/AppDetailsDrawer/AppDetailsDrawer.js @@ -449,18 +449,15 @@ class AppDetailsDrawer extends React.Component { width={this.state.drawerWidth} closable={false} onClose={onClose} - visible={visible} - > + visible={visible}>
{avatar} {name}
- - {/*display manage config button only if the app is public android app*/} - {(app.type === "PUBLIC") && (app.deviceType === "android") && + {(app.isAndroidEnterpriseApp) && (config.androidEnterpriseToken !== null) && (