dashboard: I've a picture on my login
continuous-integration/drone/push Build is passing Details

This commit is contained in:
nemunaire 2022-02-25 17:56:23 +01:00
parent 7dfb50e357
commit 85e9df1fd8
1 changed files with 2 additions and 5 deletions

View File

@ -92,10 +92,7 @@ angular.module("AdLinApp")
if (tmpstats[chid] !== undefined)
tmpstats[chid].warning++;
});
if (login == "nemunaire")
challenges["img"] = "mercie_d"
else
challenges["img"] = login
challenges["img"] = login;
$scope.students[login] = challenges;
});
$scope.stats = tmpstats;
@ -128,7 +125,7 @@ angular.module("AdLinApp")
$scope.mychallenges = mychals
})
$scope.img = $scope.onestudent == "nemunaire" ? "mercie_d" : $scope.onestudent
$scope.img = $scope.onestudent;
}
$scope.$watch("onestudent", function(onestudent) {
refreshStd();