From 596b25a5ab95a76b2a967a20a8fe84e6d6621096 Mon Sep 17 00:00:00 2001 From: sinthuja Date: Mon, 9 Oct 2017 08:48:03 +0530 Subject: [PATCH] Adding logout option. --- .../src/main/resources/store/src/App.jsx | 7 ++++--- .../components/UIComponents/UserOptions/UserOptions.jsx | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/App.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/App.jsx index e00894e3eb0..b43c3338dc5 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/App.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/App.jsx @@ -63,7 +63,7 @@ class Base extends Component { } render() { - console.log('came here/////'); + console.log('came to base ../////'); if (this.state.user !== null) { return (
@@ -107,12 +107,13 @@ class Store extends Component { } render() { + console.log('came to store'); return (
- - + + diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/components/UIComponents/UserOptions/UserOptions.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/components/UIComponents/UserOptions/UserOptions.jsx index 76f42c3d3a3..5ebdcfb0e4e 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/components/UIComponents/UserOptions/UserOptions.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/src/main/resources/store/src/components/UIComponents/UserOptions/UserOptions.jsx @@ -43,7 +43,7 @@ class UserOptions extends Component { if (this.state.user) { return ( ); } else {