mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Needed to bind removeSchedulesRefresh to the scope so that we could clear the listener properly
This commit is contained in:
@@ -576,7 +576,7 @@ export default
|
|||||||
if (scope.removeSchedulesRefresh) {
|
if (scope.removeSchedulesRefresh) {
|
||||||
scope.removeSchedulesRefresh();
|
scope.removeSchedulesRefresh();
|
||||||
}
|
}
|
||||||
scope.$on('SchedulesRefresh', function() {
|
scope.removeSchedulesRefresh = scope.$on('SchedulesRefresh', function() {
|
||||||
scope.search(iterator);
|
scope.search(iterator);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user