We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7b7e6 commit b58fc4fCopy full SHA for b58fc4f
app/listings/listings.controller.js
@@ -25,7 +25,15 @@ import { loadUser } from '../services/userv3.service.js'
25
26
function activate() {
27
$scope.myChallenges = []
28
- $scope.reactProps = { isAuth: false, myChallenges: [] }
+ $scope.reactProps = {
29
+ config: CONSTANTS,
30
+ filterFromUrl: $location.hash(),
31
+ isAuth: false,
32
+ myChallenges: [],
33
+ onSaveFilterToUrl: function(filter) {
34
+ $location.hash(filter)
35
+ }
36
37
logger.debug('Calling ListingsController activate()')
38
vm.myChallenges = []
39
loadUser().then(function(token) {
0 commit comments