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:
us...@infra.apache.org


Reply via email to