diff --git a/awx/ui/client/src/controllers/Organizations.js b/awx/ui/client/src/controllers/Organizations.js index 976e056722..bf308dfc1c 100644 --- a/awx/ui/client/src/controllers/Organizations.js +++ b/awx/ui/client/src/controllers/Organizations.js @@ -13,7 +13,7 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location, $log, $compile, Rest, PaginateWidget, PaginateInit, SearchInit, OrganizationList, Alert, Prompt, ClearScope, ProcessErrors, GetBasePath, Wait, - Stream, $state) { + $state) { ClearScope(); @@ -136,9 +136,7 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location, $('#prompt-modal').modal('hide'); }); - $scope.showActivity = function () { - Stream({ scope: $scope }); - }; + $scope.addOrganization = function () { $state.transitionTo('organizations.add'); @@ -181,7 +179,7 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location, OrganizationsList.$inject = ['$stateParams', '$scope', '$rootScope', '$location', '$log', '$compile', 'Rest', 'PaginateWidget', 'PaginateInit', 'SearchInit', 'OrganizationList', 'Alert', 'Prompt', 'ClearScope', 'ProcessErrors', 'GetBasePath', 'Wait', - 'Stream', '$state' + '$state' ]; @@ -243,7 +241,7 @@ OrganizationsAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log, $stateParams, OrganizationForm, GenerateForm, Rest, Alert, ProcessErrors, RelatedSearchInit, RelatedPaginateInit, Prompt, ClearScope, GetBasePath, - Wait, Stream, $state) { + Wait, $state) { ClearScope(); @@ -332,12 +330,6 @@ export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log, }); }; - $scope.showActivity = function () { - Stream({ - scope: $scope - }); - }; - $scope.formCancel = function () { $scope.$emit("ReloadOrganzationCards"); $scope.$emit("ShowOrgListHeader"); @@ -389,5 +381,5 @@ export function OrganizationsEdit($scope, $rootScope, $compile, $location, $log, OrganizationsEdit.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log', '$stateParams', 'OrganizationForm', 'GenerateForm', 'Rest', 'Alert', 'ProcessErrors', 'RelatedSearchInit', 'RelatedPaginateInit', 'Prompt', - 'ClearScope', 'GetBasePath', 'Wait', 'Stream', '$state' + 'ClearScope', 'GetBasePath', 'Wait', '$state' ]; \ No newline at end of file