From cc0ba7444e07cdbc4d014fa848186730ca91ddad Mon Sep 17 00:00:00 2001 From: nipun Date: Mon, 14 Oct 2019 12:25:13 +0530 Subject: [PATCH] Add the function call to mobile nav bar of the APPM ui --- .../react-app/src/pages/dashboard/Dashboard.js | 5 +++-- .../react-app/package.json | 2 +- .../react-app/src/pages/dashboard/Dashboard.js | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js index 50adbe5516..dc011aa8b7 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/Dashboard.js @@ -142,7 +142,7 @@ class Dashboard extends React.Component { + logo + style={{lineHeight: '64px', width: 231}} + onClick={this.onCloseMobileNavigationBar}> Apps diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json index 77dc59124d..50a86492f4 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/package.json @@ -11,7 +11,7 @@ "license": "Apache License 2.0", "dependencies": { "acorn": "^6.2.0", - "antd": "^3.20.1", + "antd": "^3.23.6", "axios": "^0.18.1", "d3": "^5.9.7", "dagre": "^0.8.4", diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/Dashboard.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/Dashboard.js index e3d2ee7293..fe07071172 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/Dashboard.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/Dashboard.js @@ -156,7 +156,7 @@ class Dashboard extends React.Component { + title={ logo } placement="left" @@ -169,7 +169,8 @@ class Dashboard extends React.Component { theme="light" mode="inline" defaultSelectedKeys={selectedKeys} - style={{lineHeight: '64px', width: 231}}> + style={{lineHeight: '64px', width: 231}} + onClick={this.onCloseMobileNavigationBar}> {DeviceTypesData}