Merge branch 'application-mgt-new' into 'application-mgt-new'

Fix custom app loading issue

See merge request entgra/carbon-device-mgt!249
This commit is contained in:
Dharmakeerthi Lasantha 2019-09-15 17:40:22 +00:00
commit 0a0ac706f3
2 changed files with 3 additions and 0 deletions

View File

@ -323,6 +323,7 @@ public class APIUtil {
applicationReleaseDTO.setDescription(customAppReleaseWrapper.getDescription());
applicationReleaseDTO.setReleaseType(customAppReleaseWrapper.getReleaseType());
applicationReleaseDTO.setVersion(customAppReleaseWrapper.getVersion());
applicationReleaseDTO.setSupportedOsVersions(Constants.ANY);
applicationReleaseDTO.setPackageName(customAppReleaseWrapper.getPackageName());
applicationReleaseDTO.setPrice(customAppReleaseWrapper.getPrice());
applicationReleaseDTO.setIsSharedWithAllTenants(customAppReleaseWrapper.getIsSharedWithAllTenants());

View File

@ -90,6 +90,8 @@ class Dashboard extends React.Component {
APP</Link></Menu.Item>
<Menu.Item key="setting:3"><Link to="/publisher/add-new-app/web-clip">Web
Clip</Link></Menu.Item>
<Menu.Item key="setting:3"><Link to="/publisher/add-new-app/custom-app">Custom
App</Link></Menu.Item>
</SubMenu>
<Menu.Item key="2"><Link to="/publisher/manage"><Icon
type="control"/>Manage</Link></Menu.Item>