You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2019/02/26 15:14:46 UTC

[GitHub] tbouron commented on a change in pull request #125: Fix errors around locations in composer

tbouron commented on a change in pull request #125: Fix errors around locations in composer
URL: https://github.com/apache/brooklyn-ui/pull/125#discussion_r260330139
 
 

 ##########
 File path: ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.template.html
 ##########
 @@ -362,7 +362,12 @@ <h4>No location attached</h4>
             <p ng-repeat="issue in state.issues | filter:{group:'location'}" class="alert alert-{{issue.severity}}">
                 <em ng-bind-html="issue.message"></em>
             </p>
-            <p>Will be deployed to: <strong>{{model.miscData.get('locationName')}}</strong></p>
+            <p>
+                Targeted at: 
+                <strong ng-if="specEditor.isInstance(model.location, 'string')">{{ model.miscData.get('locationName') }}</strong>
+                <pre ng-if="!specEditor.isInstance(model.location, 'string')">{{ specEditor.json(model.location) }}</pre>
 
 Review comment:
   See my comment above

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services