Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/brooklyn-ui/pull/93#discussion_r229345048
  
    --- Diff: 
ui-modules/blueprint-composer/app/views/main/graphical/edit/add/add.js ---
    @@ -27,17 +27,18 @@ export const graphicalEditAddState = {
         name: 'main.graphical.edit.add',
         url: '/add/:family?configKey',
         template: template,
    -    controller: ['$scope', '$filter', '$state', '$stateParams', 
'blueprintService', GraphicalEditAddController],
    +    controller: ['$scope', '$filter', '$state', '$stateParams', 
'blueprintService', 'paletteService', GraphicalEditAddController],
         controllerAs: 'vm',
     };
     
    -export function GraphicalEditAddController($scope, $filter, $state, 
$stateParams, blueprintService) {
    +export function GraphicalEditAddController($scope, $filter, $state, 
$stateParams, blueprintService, paletteService) {
         switch ($stateParams.family) {
             case EntityFamily.ENTITY.id.toLowerCase():
                 $scope.family = EntityFamily.ENTITY;
                 break;
             case EntityFamily.SPEC.id.toLowerCase():
                 $scope.family = EntityFamily.SPEC;
    +            $scope.familiesToShow = [ EntityFamily.ENTITY, 
EntityFamily.SPEC ];
    --- End diff --
    
    I cannot find any reference if this on templates


---

Reply via email to