fix minor typos/comments as per PR review

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/39d2a384
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/39d2a384
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/39d2a384

Branch: refs/heads/master
Commit: 39d2a3843721885721d29be56bf00aac4764e8c8
Parents: 837c6dc
Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com>
Authored: Mon Sep 17 15:07:03 2018 +0100
Committer: Alex Heneveld <alex.henev...@cloudsoftcorp.com>
Committed: Mon Sep 17 15:07:03 2018 +0100

----------------------------------------------------------------------
 .../components/catalog-selector/catalog-selector.directive.js    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/39d2a384/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
----------------------------------------------------------------------
diff --git 
a/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
 
b/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
index 80f6397..733a2ce 100644
--- 
a/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
+++ 
b/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
@@ -230,13 +230,15 @@ function controller($scope, $element, $q, $uibModal, 
$log, $templateCache, palet
         });
         $scope.items = items;
     });
+    // this can be overridden for third-party filters.
+    // it receives result of filtering based on search so filters can adjust 
based on number of search resullts
     $scope.filterPaletteItems = (items) => items;
 
     // downstream can override this to insert lines below the header
     $scope.customSubHeadTemplateName = 'composer-palette-empty-sub-head';
     $templateCache.put($scope.customSubHeadTemplateName, '');
     
-    $scope.customFooterTemplateName = 'composer-palette-empty-foort';
+    $scope.customFooterTemplateName = 'composer-palette-empty-footer';
     $templateCache.put($scope.customFooterTemplateName, '');
 
     // allow downstream to configure this controller and/or scope

Reply via email to