Updated function to go to correct options pane. Closes # 4319

This commit is contained in:
Blade Barringer 2014-12-03 08:01:23 -06:00
parent 3cf6e84451
commit 8794adde69

View file

@ -38,7 +38,7 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
$scope.clickMember = function(uid, forceShow) {
if (User.user._id == uid && !forceShow) {
if ($state.is('tasks')) {
$state.go('options');
$state.go('options.profile.avatar');
} else {
$state.go('tasks');
}