Commit 22ae23a8 authored by Robert Knight's avatar Robert Knight

Correct a comment about the events which trigger a route reload

parent 66411793
...@@ -46,8 +46,7 @@ module.exports = class AppController ...@@ -46,8 +46,7 @@ module.exports = class AppController
options: ['Newest', 'Oldest', 'Location'] options: ['Newest', 'Oldest', 'Location']
} }
# Reload the view when the focused group changes or the # Reload the view when the user switches accounts
# list of groups that the user is a member of changes
reloadEvents = [events.USER_CHANGED]; reloadEvents = [events.USER_CHANGED];
reloadEvents.forEach((eventName) -> reloadEvents.forEach((eventName) ->
$scope.$on(eventName, (event, data) -> $scope.$on(eventName, (event, data) ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment