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 2021/05/25 15:11:35 UTC

[GitHub] [brooklyn-ui] algairim commented on a change in pull request #204: Spec hierarchy tag

algairim commented on a change in pull request #204:
URL: https://github.com/apache/brooklyn-ui/pull/204#discussion_r638890585



##########
File path: ui-modules/app-inspector/app/components/entity-tree/entity-tree.directive.js
##########
@@ -471,7 +471,7 @@ export function entityNodeDirective() {
          * @returns {boolean} True if to highlight entity in a current view, false otherwise.
          */
         $scope.isHighlight = function() {
-            return $scope.entity.viewModesHighlight.has($scope.viewMode);
+            return $scope.entity.viewModesHighlight && $scope.entity.viewModesHighlight.has($scope.viewMode);

Review comment:
       :thumbsup:




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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