From 543dd455b0820724e1b4ef8ada93a1936152a7e2 Mon Sep 17 00:00:00 2001 From: Menaka Jayawardena Date: Sun, 8 Oct 2017 14:43:34 +0530 Subject: [PATCH] Removed unnecessary div elements. --- .../AppPublisherBase/BaseLayout.jsx | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx index 464300be20..d05fe2f8ae 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx @@ -95,6 +95,8 @@ class BaseLayout extends Component { return "Applications"; } else if (href.indexOf("platforms") !== -1) { return "Platforms"; + } else { + return ""; } } @@ -163,23 +165,19 @@ class BaseLayout extends Component { : - + : this.getCurrentPageTitle() === "" ?
: + }
-
- - - {this.props.children} - - -
+ + {this.props.children} +