You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/09/15 15:27:47 UTC
[brooklyn-ui] 02/03: minor refactor
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 1e1f7281320f2f193010535e8b440ea593e7e9e8
Author: zan-mateusz <ma...@cloudsoftcorp.com>
AuthorDate: Wed Sep 15 15:57:18 2021 +0100
minor refactor
---
ui-modules/utils/quick-launch/quick-launch.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ui-modules/utils/quick-launch/quick-launch.js b/ui-modules/utils/quick-launch/quick-launch.js
index 5540988..b8982b0 100644
--- a/ui-modules/utils/quick-launch/quick-launch.js
+++ b/ui-modules/utils/quick-launch/quick-launch.js
@@ -150,8 +150,7 @@ export function quickLaunchDirective() {
function deployApp() {
$scope.deploying = true;
- let useExtensions = $scope.app.plan.format.includes('camp') ? false : true;
- Promise.resolve(quickLaunch.buildYaml(useExtensions))
+ Promise.resolve(quickLaunch.buildYaml($scope.app.plan.format.includes('camp') ? false : true))
.then(appYaml => {
quickLaunch.planSender(appYaml)
.then((response) => {