From 3761d58cdacd6333c173df19224751ad1b916de9 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Mon, 5 Aug 2019 00:15:32 +0530 Subject: [PATCH] Fix redirecting issue in APPM Store --- .../react-app/src/components/apps/release/DetailedRating.js | 2 +- .../react-app/src/pages/dashboard/Dashboard.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/DetailedRating.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/DetailedRating.js index e30237e682..0536e966cf 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/DetailedRating.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/DetailedRating.js @@ -63,7 +63,7 @@ class DetailedRating extends React.Component{ }).catch(function (error) { if (error.response.status === 401) { - window.location.href = window.location.origin+'/publisher/login'; + window.location.href = window.location.origin+'/store/login'; } }); }; 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 ebefc36c1a..32fe96f960 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 @@ -57,7 +57,7 @@ class Dashboard extends React.Component { }).catch((error) => { if (error.hasOwnProperty("response") && error.response.status === 401) { - window.location.href = window.location.origin + '/publisher/login'; + window.location.href = window.location.origin + '/store/login'; } else { notification["error"]({ message: "There was a problem",