File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
smart-components/App/stories Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export const handleConnection = ({
6666 userDispatcher ( { type : INIT_USER , payload : user } ) ;
6767 // use nickname/profileUrl if provided
6868 // or set userID as nickname
69- if ( nickname !== user . nickname || profileUrl !== user . profileUrl ) {
69+ if ( ( nickname !== user . nickname || profileUrl !== user . profileUrl ) && ( nickname !== '' || profileUrl !== '' ) ) {
7070 newSdk . updateCurrentUserInfo ( nickname || user . nickname , profileUrl || user . profileUrl )
7171 . then ( ( namedUser ) => {
7272 userDispatcher ( { type : UPDATE_USER_INFO , payload : namedUser } ) ;
Original file line number Diff line number Diff line change @@ -204,9 +204,9 @@ export const user1 = () => fitPageSize(
204204 appId = { appId }
205205 userId = { array [ 0 ] }
206206 nickname = { array [ 0 ] }
207+ profileUrl = { addProfile }
207208 showSearchIcon
208209 allowProfileEdit
209- profileUrl = { addProfile }
210210 config = { { logLevel : 'all' } }
211211 queries = { { } }
212212 replyType = "QUOTE_REPLY"
You can’t perform that action at this time.
0 commit comments