diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/subForms/NewAppDetailsForm.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/subForms/NewAppDetailsForm.js index 1a0ac43127..36b5d4e79b 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/subForms/NewAppDetailsForm.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/new-app/subForms/NewAppDetailsForm.js @@ -344,7 +344,7 @@ class NewAppDetailsForm extends React.Component { banner closable/> )} - + {getFieldDecorator('unrestrictedRoles', { rules: [], initialValue: [] diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/AppList.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/AppList.js index 5667cf3b9b..fb2bf14a58 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/AppList.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/AppList.js @@ -57,7 +57,12 @@ class AppList extends React.Component { if (prevProps.deviceType !== this.props.deviceType) { const {deviceType} = this.props; this.props.changeSelectedMenuItem(deviceType); - this.fetchData(deviceType); + this.fetchData(0, limit, res => { + this.setState({ + apps: res, + loading: false + }); + }); } }