mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 05:01:19 -03:30
remove Stream dependencies
This commit is contained in:
parent
4ade498c6c
commit
4558b880a0
@ -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'
|
||||
];
|
||||
Loading…
x
Reference in New Issue
Block a user