Skip to content

Commit

Permalink
Renamed subscribtion var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Aug 25, 2019
1 parent b7b83de commit b0e6d6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ module
preLoadJob($scope, appState);
});

const fetchSub$ = subscribeWithScope($scope, timefilter.getFetch$(), {
const fetchSub = subscribeWithScope($scope, timefilter.getFetch$(), {
next: () => {
$scope.loadVis();
if ($scope.formConfig.splitField !== undefined) {
Expand All @@ -770,6 +770,6 @@ module
$scope.$on('$destroy', () => {
globalForceStop = true;
angular.element(window).off('resize');
fetchSub$.unsubscribe();
fetchSub.unsubscribe();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -738,13 +738,13 @@ module
preLoadJob($scope, appState);
});

const fetchSub$ = subscribeWithScope($scope, timefilter.getFetch$(), {
const fetchSub = subscribeWithScope($scope, timefilter.getFetch$(), {
next: $scope.loadVis
});

$scope.$on('$destroy', () => {
globalForceStop = true;
angular.element(window).off('resize');
fetchSub$.unsubscribe();
fetchSub.unsubscribe();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -622,13 +622,13 @@ module
moveToAdvancedJobCreation(job);
};

const fetchSub$ = subscribeWithScope($scope, timefilter.getFetch$(), {
const fetchSub = subscribeWithScope($scope, timefilter.getFetch$(), {
next: $scope.loadVis
});

$scope.$on('$destroy', () => {
globalForceStop = true;
fetchSub$.unsubscribe();
fetchSub.unsubscribe();
});

$scope.$evalAsync(() => {
Expand Down

0 comments on commit b0e6d6e

Please sign in to comment.