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

Commit d72d417

Browse files
authored
fixed undefined challengeFilter
1 parent 03258ee commit d72d417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/listings/listings.routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import angular from 'angular'
2222
}
2323
})
2424
$rootScope.$on('$locationChangeSuccess', function(event, toState, fromState) {
25-
$rootScope.challengeFilter.forceUpdate()
25+
if($rootScope.challengeFilter != null) $rootScope.challengeFilter.forceUpdate()
2626
})
2727
}])
2828

0 commit comments

Comments
 (0)