This commit is contained in:
parent
aeae391034
commit
8232c6696e
1 changed files with 2 additions and 2 deletions
|
|
@ -5801,8 +5801,8 @@ export class ProfileController extends Controller {
|
|||
Object.assign(record, body);
|
||||
record.dateRetireLaw = calculateRetireLaw(record.birthDate);
|
||||
//old
|
||||
record.prefixMain = record.prefix;
|
||||
record.prefix = record.rank && record.rank.length > 0 ? record.rank : record.prefixMain;
|
||||
// record.prefixMain = record.prefix;
|
||||
// record.prefix = record.rank && record.rank.length > 0 ? record.rank : record.prefixMain;
|
||||
//new
|
||||
record.prefixMain = record.prefix;
|
||||
record.prefix = record.rank && record.rank.length > 0 ? record.rank : record.prefix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue