Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
E
exam_11_front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zarina
exam_11_front
Commits
e25f35e5
Commit
e25f35e5
authored
Jul 30, 2020
by
zarina
🌊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
исправила отображение ошибок
parent
9e4212b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Register.js
src/containers/Register/Register.js
+4
-1
No files found.
src/containers/Register/Register.js
View file @
e25f35e5
...
...
@@ -21,7 +21,10 @@ class Register extends Component {
};
getFieldError
=
fieldName
=>
{
return
this
.
props
.
error
&&
this
.
props
.
error
.
errors
&&
this
.
props
.
error
.
errors
[
fieldName
]
&&
this
.
props
.
error
.
errors
[
fieldName
].
message
;
return
this
.
props
.
error
&&
this
.
props
.
error
.
errors
&&
this
.
props
.
error
.
errors
[
fieldName
]
&&
this
.
props
.
error
.
errors
[
fieldName
].
properties
&&
this
.
props
.
error
.
errors
[
fieldName
].
properties
.
message
;
};
render
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment