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 faf590cafac9d6877264ca354580ef470df83271
Author: iuliana <iuli...@cloudsoft.io>
AuthorDate: Wed Jul 14 09:51:22 2021 +0100

    Added change recommended by john
---
 .../app-inspector/app/components/providers/entity-api.provider.js      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/ui-modules/app-inspector/app/components/providers/entity-api.provider.js 
b/ui-modules/app-inspector/app/components/providers/entity-api.provider.js
index 8eff104..bc92e14 100644
--- a/ui-modules/app-inspector/app/components/providers/entity-api.provider.js
+++ b/ui-modules/app-inspector/app/components/providers/entity-api.provider.js
@@ -80,8 +80,7 @@ function EntityApi($http, $q) {
     }
 
     function getEntityConfigState(applicationId, entityId, skipResolution) {
-        skipResolution = skipResolution ? true : false;
-        return $http.get('/v1/applications/' + applicationId + '/entities/' + 
entityId + 
'/config/current-state?suppressSecrets=true&skipResolution='+skipResolution, 
{observable: true, ignoreLoadingBar: true});
+        return $http.get('/v1/applications/' + applicationId + '/entities/' + 
entityId + 
`/config/current-state?suppressSecrets=true&skipResolution=${!!skipResolution}`,
 {observable: true, ignoreLoadingBar: true});
     }
     function getEntitySpec(applicationId, entityId) {
         return $http.get('/v1/applications/' + applicationId + '/entities/' + 
entityId + '/spec', {observable: true, ignoreLoadingBar: true});

Reply via email to