This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 4dadb8d6db2e9ff99e26091973cd9f3f441d1d1e Author: zan-mateusz <[email protected]> AuthorDate: Fri Sep 17 17:19:30 2021 +0100 fix for deploying apps from home page - format added --- ui-modules/home/app/views/main/deploy/deploy.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui-modules/home/app/views/main/deploy/deploy.controller.js b/ui-modules/home/app/views/main/deploy/deploy.controller.js index cab9db2..c036e80 100644 --- a/ui-modules/home/app/views/main/deploy/deploy.controller.js +++ b/ui-modules/home/app/views/main/deploy/deploy.controller.js @@ -53,6 +53,7 @@ export function deployStateController($scope, $state, $stateParams, $uibModal, b windowClass: 'quick-launch-modal', resolve: { entitySpec: ['catalogApi', (catalogApi) => { + return catalogApi.getBundleType($stateParams.bundleSymbolicName, $stateParams.bundleVersion, $stateParams.typeSymbolicName, $stateParams.typeVersion); }], locations: ['locationApi', locationApi => locationApi.getLocations()], @@ -79,6 +80,7 @@ export function deployStateController($scope, $state, $stateParams, $uibModal, b function modalController($scope, $location, entitySpec, locations) { $scope.app = entitySpec; + $scope.app.plan.format = $scope.app.specList[0].format; $scope.locations = filterCatalogQuickLaunch(locations, (t) => { $scope.usingLocationCatalogQuickLaunchTags = t.length > 0; });
