fix: inject the translator for profile save errors

This commit is contained in:
tdurieux
2026-09-06 10:47:53 +02:00
parent 793e926463
commit 681f72f75c
4 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -1138,7 +1138,8 @@ angular
.controller("profileController", [
"$scope",
"$http",
function ($scope, $http) {
"$translate",
function ($scope, $http, $translate) {
$scope.terms = "";
$scope.options = {
expirationMode: "remove",