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