From 7675f5a315b068616e6e4238f7c5330a7396fcb1 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Thu, 4 Jul 2019 15:45:35 +0530 Subject: [PATCH] Fix cannot remove child issue --- .../src/components/apps/list-apps/Filters.js | 16 +- .../react-app/src/App.js | 2 +- .../components/apps/release/ReleaseView.js | 8 +- .../apps/release/review/AddReview.js | 88 +++++----- .../apps/release/review/CurrentUsersReview.js | 101 +++++++++++ .../apps/release/review/EditReview.js | 164 ++++++++++++++++++ .../apps/release/review/Reviews.css | 6 +- .../components/apps/release/review/Reviews.js | 16 +- .../apps/release/review/SingleReview.js | 17 +- .../react-app/src/pages/Login.js | 2 +- .../src/pages/dashboard/Dashboard.js | 1 - 11 files changed, 329 insertions(+), 92 deletions(-) create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/review/CurrentUsersReview.js create mode 100644 components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/review/EditReview.js diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js index eba53ee793..aaa760844a 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/list-apps/Filters.js @@ -118,7 +118,6 @@ class FiltersForm extends React.Component { }); }; - render() { const {categories, tags, deviceTypes} = this.state; const {getFieldDecorator} = this.props.form; @@ -148,10 +147,7 @@ class FiltersForm extends React.Component { - - {/*Category*/} - {/*

*/} {getFieldDecorator('categories', { rules: [{ @@ -178,15 +174,7 @@ class FiltersForm extends React.Component { )} - {/**/} - {/**/} - {/**/} - {/**/} - + {getFieldDecorator('deviceTypes', { @@ -213,7 +201,6 @@ class FiltersForm extends React.Component { )} - {/*Tags*/} {getFieldDecorator('tags', { rules: [{ @@ -240,7 +227,6 @@ class FiltersForm extends React.Component { )} - {getFieldDecorator('appType', {})(