mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
(bug) the birthday was not shown in user edition form
This commit is contained in:
parent
32259e8876
commit
37bc2b3d43
@ -12,6 +12,7 @@
|
|||||||
- During the setup, ask to set ALLOW_INSECURE_HTTP if DEFAULT_PROTOCOL was set to http
|
- 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: 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: 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 set the twitter input empty
|
||||||
- Fix a bug: unable to edit an event
|
- Fix a bug: unable to edit an event
|
||||||
- Fix a bug: times are not shown in admin/events monitoring page
|
- Fix a bug: times are not shown in admin/events monitoring page
|
||||||
|
@ -929,9 +929,6 @@ Application.Controllers.controller('EditMemberController', ['$scope', '$state',
|
|||||||
const initialize = function () {
|
const initialize = function () {
|
||||||
CSRF.setMetaTags();
|
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
|
// the user subscription
|
||||||
if (($scope.user.subscribed_plan != null) && ($scope.user.subscription != null)) {
|
if (($scope.user.subscribed_plan != null) && ($scope.user.subscription != null)) {
|
||||||
$scope.subscription = $scope.user.subscription;
|
$scope.subscription = $scope.user.subscription;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user