Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit feaf93f

Browse files
authored
Update listings.controller.js
1 parent d72d417 commit feaf93f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/listings/listings.controller.js

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ import { loadUser } from '../services/userv3.service.js'
3636
},
3737
getFilterFromUrl: function() {
3838
return $location.hash()
39+
},
40+
setChallengeFilter: function(component) {
41+
$scope.challengeFilter = component;
3942
}
4043
}
4144
logger.debug('Calling ListingsController activate()')
@@ -97,6 +100,9 @@ import { loadUser } from '../services/userv3.service.js'
97100
},
98101
getFilterFromUrl: function() {
99102
return $location.hash()
103+
},
104+
setChallengeFilter: function(component) {
105+
$scope.challengeFilter = component;
100106
}
101107
}
102108

0 commit comments

Comments
 (0)