Skip to content

Commit

Permalink
fix(admin-ui): change birthdate value
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Aug 22, 2022
1 parent 758ba85 commit b5d5c6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ function UserEditPage() {
? val.push(
moment(values[key], 'YYYY-MM-DD').format('YYYY-MM-DD'),
)
: val.push('')
: null
value = values[key]
? moment(values[key], 'YYYY-MM-DD').format('YYYY-MM-DD')
: ''
: null
}
obj = {
name: key,
Expand Down

0 comments on commit b5d5c6b

Please sign in to comment.