1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-19 08:52:25 +01:00

Fix a bug: unable to sign up if admin actived organization's additional fields with required

This commit is contained in:
Du Peng 2022-05-27 11:32:56 +02:00
parent 73ee927088
commit 8d724d7191
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
## next deploy
- Fix a bug: unable to run scripts on systemts with legacy version of docker-compose
- Fix a bug: unable to sign up if admin actived organization's additional fields with required
## v5.4.1 2022 May 23

View File

@ -165,8 +165,8 @@
</div>
</div>
<div ng-repeat="(i, profileCustomField) in profileCustomFields">
<div class="form-group required-row" ng-show="user.organization" ng-class="{'has-error': signupForm.user_profile_custom_fields{{i}}.$dirty && signupForm.user_profile_custom_fields{{i}}.$invalid}">
<div ng-if="user.organization" ng-repeat="(i, profileCustomField) in profileCustomFields">
<div class="form-group required-row" ng-class="{'has-error': signupForm.user_profile_custom_fields{{i}}.$dirty && signupForm.user_profile_custom_fields{{i}}.$invalid}">
<div class="col-sm-12">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-building-o"></i></span>