1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) the birthday was not shown in user edition form

This commit is contained in:
Sylvain 2022-06-20 10:49:44 +02:00
parent 32259e8876
commit 37bc2b3d43
2 changed files with 1 additions and 3 deletions

View File

@ -12,6 +12,7 @@
- During the setup, ask to set ALLOW_INSECURE_HTTP if DEFAULT_PROTOCOL was set to http
- Fix a bug: the birthdate was not marked as required, in the profile edition form
- Fix a bug: when the phone or the address were required, they were not marked as this, in the profile edition form
- Fix a bug: the birthday was not shown in user edition form
- Fix a bug: unable to set the twitter input empty
- Fix a bug: unable to edit an event
- Fix a bug: times are not shown in admin/events monitoring page

View File

@ -929,9 +929,6 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
const initialize = function () {
CSRF.setMetaTags();
// init the birthdate to JS object
$scope.user.statistic_profile_attributes.birthday = moment($scope.user.statistic_profile_attributes.birthday).toDate();
// the user subscription
if (($scope.user.subscribed_plan != null) && ($scope.user.subscription != null)) {
$scope.subscription = $scope.user.subscription;