frontend: fix error on registration validated

This commit is contained in:
nemunaire 2020-05-16 03:53:32 +02:00
parent 130bb92dc8
commit 90151ce498

View file

@ -155,7 +155,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
$rootScope.issues_nb_responses += issue.texts.length; $rootScope.issues_nb_responses += issue.texts.length;
if (issue.state == 'need-info') $rootScope.issues_need_info++; if (issue.state == 'need-info') $rootScope.issues_need_info++;
}) })
}); }, function(error) {});
} }
var refreshThemesInterval var refreshThemesInterval
@ -812,7 +812,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
$scope.$watch("my", function(my){ $scope.$watch("my", function(my){
if (my) if (my)
$location.url("."); $location.url("/");
}); });
}) })
.controller("TagController", function($scope, $rootScope, $routeParams, $location) { .controller("TagController", function($scope, $rootScope, $routeParams, $location) {