This website works better with JavaScript.
Home
Explore
Help
Sign In
alex
/
PNSPS-frontend-MaterialUI
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix group loading
master
Alex Cheung
1 year ago
parent
9791ad6f49
commit
74704a333b
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/pages/User/DetailPage/UserGroupCard.js
+ 1
- 1
src/pages/User/DetailPage/UserGroupCard.js
View File
@@ -30,7 +30,7 @@ const UserGroupCard = ({isCollectData, updateUserGroupList,userData,isNewRecord}
useEffect(() => {
//if state data are ready and assign to different field
if (Object.keys(userData).length > 0
&&
currentUserData !== undefined) {
if (Object.keys(userData).length > 0
||
currentUserData !== undefined) {
setOnReady(true);
}
}, [currentUserData]);
Write
Preview
Loading…
Cancel
Save