Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
71bcef15
Commit
71bcef15
authored
Jan 28, 2020
by
Bernard Seow
Committed by
Diego Mello
Jan 28, 2020
Browse files
[FIX] Profile fields automatically reset (#1502)
parent
f5188a8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/ProfileView/index.js
View file @
71bcef15
...
...
@@ -81,7 +81,7 @@ class ProfileView extends React.Component {
componentWillReceiveProps
(
nextProps
)
{
const
{
user
}
=
this
.
props
;
if
(
user
!==
nextProps
.
user
)
{
if
(
!
equal
(
user
,
nextProps
.
user
)
)
{
this
.
init
(
nextProps
.
user
);
}
}
...
...
Write
Preview
Supports
Markdown
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