Github user tbouron commented on a diff in the pull request:
https://github.com/apache/brooklyn-ui/pull/94#discussion_r229351261
--- Diff:
ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
---
@@ -127,15 +135,15 @@ function controller($scope, $element, $q, $uibModal,
$log, $templateCache, palet
$scope.getPlaceHolder = function () {
return 'Search';
};
-
+
$scope.isLoading = true;
$scope.$watch('search', () => {
$scope.freeFormTile = {
symbolicName: $scope.search,
name: $scope.search,
displayName: $scope.search,
- supertypes: [$scope.family.superType]
+ supertypes: ($scope.family ? [ $scope.family.superType ] : []),
--- End diff --
This directive wasn't designed to support `null` family. Something is wrong
is that's the case, I don't see any reason why we would use it without a family
---